This weeks task involved manipulation of strings using the replace function to exponentially add to a string in a way to make simple shapes into larger complex patternisitic shapes. In order to accomplish this, we used our shapes file and our linear file in combination with structures learned in lab to read from a text file, divide the text file into usable chunks, and from there create our images.
To store and restore the turtle position and heading I used the commands [ and ] to store and restore. These commands first stored the position and heading to a list in that order using the append function. And to restore the position and heading, we take them off in the opposite order using the pop function.Which adds to the end of the function and takes them off if the opposite order.

For my extensions this week I first changed the forward command to assign a random color everytime so that the tree and intriquing pattern of System A and B would be a little more interesting. Next I took the suggestion from the homework text and used the random gaussian function to assign varying distances and angles based on a distribution based on a fraction of the original values entered for distance and angle in the System B file. Additionally I changed the number of iterations of the original file from 3 to 5, not realizing it would amplify the length of the string exponentialy as it replaced every F with 8 new ones which each would then be replaced my an additional 8 new ones. However the image, seen below, was very compelling, and complex, and could be used to draw more than trees, potentially it could be used to draw anatomy of vascular systems and even drawing cracks in glass.