added } parentheses to turtle for figures
added various "if" lines to turtle for images, fixed typo in file calling