Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/100turtles.ta1
-rw-r--r--samples/About_me.ta2
-rw-r--r--samples/Pythagoras.ta1
-rw-r--r--samples/Que_Como_Por_que_Para_que.ta2
-rw-r--r--samples/What_How_Why_For_whom.ta2
-rw-r--r--samples/birds.ta2
-rw-r--r--samples/bubbles.ta2
-rw-r--r--samples/candyvortex.ta2
-rw-r--r--samples/cherlin.ta1
-rw-r--r--samples/clock.ta2
-rw-r--r--samples/colors.ta2
-rw-r--r--samples/continents_game.ta1
-rw-r--r--samples/csquiral.ta2
-rw-r--r--samples/curlygates.ta2
-rw-r--r--samples/dots.ta2
-rw-r--r--samples/find_boston.ta2
-rw-r--r--samples/flower.ta2
-rw-r--r--samples/forster.ta1
-rw-r--r--samples/fountain.ta2
-rw-r--r--samples/images/Africa.pngbin0 -> 65264 bytes
-rw-r--r--samples/images/Australia.pngbin0 -> 120108 bytes
-rw-r--r--samples/images/Boston.pngbin0 -> 80909 bytes
-rw-r--r--samples/images/COPYING26
-rw-r--r--samples/images/Eurasia.pngbin0 -> 65868 bytes
-rw-r--r--samples/images/Massachuetts.pngbin0 -> 3878 bytes
-rw-r--r--samples/images/New-England.pngbin0 -> 4132 bytes
-rw-r--r--samples/images/North_America.jpgbin0 -> 71241 bytes
-rw-r--r--samples/images/North_America.pngbin0 -> 66207 bytes
-rw-r--r--samples/images/Pythagoras.jpgbin0 -> 28207 bytes
-rw-r--r--samples/images/South_America.pngbin0 -> 65073 bytes
-rw-r--r--samples/images/United_States.pngbin0 -> 34033 bytes
-rw-r--r--samples/images/World_Map.pngbin0 -> 65083 bytes
-rw-r--r--samples/images/earth.pngbin0 -> 143872 bytes
-rw-r--r--samples/images/me.jpgbin0 -> 48896 bytes
-rw-r--r--samples/rainbow.ta2
-rw-r--r--samples/redwisp.ta2
-rw-r--r--samples/reflections.ta2
-rw-r--r--samples/set.ta1
-rw-r--r--samples/shades.ta2
-rw-r--r--samples/shape-and-color-game.ta2
-rw-r--r--samples/sierpquad.ta2
-rw-r--r--samples/sierpquad2.ta2
-rw-r--r--samples/sierptri.ta2
-rw-r--r--samples/sinfunction.ta1
-rw-r--r--samples/smoothcandy.ta2
-rw-r--r--samples/snowflake.ta2
-rw-r--r--samples/square.ta2
-rw-r--r--samples/squares.ta2
-rw-r--r--samples/squiral.ta2
-rw-r--r--samples/sunrise.ta2
-rw-r--r--samples/tangents.ta1
-rw-r--r--samples/tree.ta2
-rw-r--r--samples/xo-child.ta2
-rw-r--r--samples/xo-man.ta1
54 files changed, 64 insertions, 31 deletions
diff --git a/samples/100turtles.ta b/samples/100turtles.ta
new file mode 100644
index 0000000..3b1cd37
--- /dev/null
+++ b/samples/100turtles.ta
@@ -0,0 +1 @@
+[[0, "repeat", 177, 217, [16, 1, 13, null]], [1, ["number", 1000], 228, 217, [0, null]], [2, "addturtle", 242, 353, [17, 14, 12]], [3, "random", 360, 277, [13, 4, 5, null]], [4, ["number", 0], 446, 277, [3, null]], [5, ["number", 100], 446, 319, [3, null]], [6, "seth", 242, 437, [12, 7, 18]], [7, "random", 341, 437, [6, 8, 9, null]], [8, ["number", 0], 427, 437, [7, null]], [9, ["number", 360], 427, 479, [7, null]], [10, "forward", 242, 513, [18, 11, null]], [11, ["number", 100], 313, 513, [10, null]], [12, "setcolor", 242, 395, [2, 15, 6]], [13, "storeinbox1", 242, 277, [0, 3, 17]], [14, "box1", 300, 353, [2, null]], [15, "box1", 319, 395, [12, null]], [16, "start", 177, 175, [null, 0]], [17, ["vspace", 0], 242, 319, [13, 2]], [18, ["vspace", 0], 242, 479, [6, 10]], [-1, ["turtle", 0], -81, -96, 200, 0, 50, 5], [-1, ["turtle", 1], -179, 0, 79, 1, 50, 5], [-1, ["turtle", 2], -626, -18, 275, 2, 50, 5], [-1, ["turtle", 3], 32, 36, 115, 3, 50, 5], [-1, ["turtle", 4], -107, 581, 91, 4, 50, 5], [-1, ["turtle", 5], 443, -251, 265, 5, 50, 5], [-1, ["turtle", 6], -37, 32, 338, 6, 50, 5], [-1, ["turtle", 7], -121, 280, 277, 7, 50, 5], [-1, ["turtle", 8], -164, 377, 17, 8, 50, 5], [-1, ["turtle", 9], -427, 308, 357, 9, 50, 5], [-1, ["turtle", 10], 195, -27, 98, 10, 50, 5], [-1, ["turtle", 11], 212, 306, 281, 11, 50, 5], [-1, ["turtle", 12], 260, -248, 234, 12, 50, 5], [-1, ["turtle", 13], -49, 138, 207, 13, 50, 5], [-1, ["turtle", 14], -84, 91, 349, 14, 50, 5], [-1, ["turtle", 15], 85, 36, 183, 15, 50, 5], [-1, ["turtle", 16], 303, -188, 180, 16, 50, 5], [-1, ["turtle", 17], 93, 291, 357, 17, 50, 5], [-1, ["turtle", 18], -293, -120, 132, 18, 50, 5], [-1, ["turtle", 19], -113, 106, 29, 19, 50, 5], [-1, ["turtle", 20], 136, 102, 225, 20, 50, 5], [-1, ["turtle", 21], 253, -248, 175, 21, 50, 5], [-1, ["turtle", 22], -50, -320, 126, 22, 50, 5], [-1, ["turtle", 23], -28, 31, 353, 23, 50, 5], [-1, ["turtle", 24], 530, -186, 88, 24, 50, 5], [-1, ["turtle", 25], 295, -196, 64, 25, 50, 5], [-1, ["turtle", 26], 519, -119, 237, 26, 50, 5], [-1, ["turtle", 27], 231, 103, 100, 27, 50, 5], [-1, ["turtle", 28], -17, -4, 32, 28, 50, 5], [-1, ["turtle", 29], -175, -36, 213, 29, 50, 5], [-1, ["turtle", 30], -516, 237, 228, 30, 50, 5], [-1, ["turtle", 31], 1, 743, 298, 31, 50, 5], [-1, ["turtle", 32], 199, 276, 338, 32, 50, 5], [-1, ["turtle", 33], -30, -275, 317, 33, 50, 5], [-1, ["turtle", 34], -103, 204, 235, 34, 50, 5], [-1, ["turtle", 35], 62, -164, 291, 35, 50, 5], [-1, ["turtle", 36], 129, 16, 329, 36, 50, 5], [-1, ["turtle", 37], 95, 77, 44, 37, 50, 5], [-1, ["turtle", 38], -352, -54, 301, 38, 50, 5], [-1, ["turtle", 39], -239, -21, 271, 39, 50, 5], [-1, ["turtle", 40], 5, 296, 332, 40, 50, 5], [-1, ["turtle", 41], 352, 78, 96, 41, 50, 5], [-1, ["turtle", 42], -26, -197, 233, 42, 50, 5], [-1, ["turtle", 43], 145, -296, 125, 43, 50, 5], [-1, ["turtle", 44], -76, 34, 340, 44, 50, 5], [-1, ["turtle", 45], 200, -265, 71, 45, 50, 5], [-1, ["turtle", 46], -139, 220, 99, 46, 50, 5], [-1, ["turtle", 47], -328, 46, 286, 47, 50, 5], [-1, ["turtle", 48], 515, 635, 8, 48, 50, 5], [-1, ["turtle", 49], -49, -92, 233, 49, 50, 5], [-1, ["turtle", 50], 125, 22, 170, 50, 50, 5], [-1, ["turtle", 51], 241, -100, 28, 51, 50, 5], [-1, ["turtle", 52], -262, 206, 184, 52, 50, 5], [-1, ["turtle", 53], 306, -19, 91, 53, 50, 5], [-1, ["turtle", 54], 126, -297, 175, 54, 50, 5], [-1, ["turtle", 55], -104, 299, 127, 55, 50, 5], [-1, ["turtle", 56], -7, 316, 296, 56, 50, 5], [-1, ["turtle", 57], -261, 322, 330, 57, 50, 5], [-1, ["turtle", 58], -100, 81, 246, 58, 50, 5], [-1, ["turtle", 59], 405, -18, 114, 59, 50, 5], [-1, ["turtle", 60], -102, 164, 71, 60, 50, 5], [-1, ["turtle", 61], -179, 429, 301, 61, 50, 5], [-1, ["turtle", 62], 119, 244, 296, 62, 50, 5], [-1, ["turtle", 63], 269, 288, 32, 63, 50, 5], [-1, ["turtle", 64], -253, -4, 211, 64, 50, 5], [-1, ["turtle", 65], -114, -133, 148, 65, 50, 5], [-1, ["turtle", 66], -297, 317, 245, 66, 50, 5], [-1, ["turtle", 67], -93, -26, 241, 67, 50, 5], [-1, ["turtle", 68], 239, 214, 133, 68, 50, 5], [-1, ["turtle", 69], 178, 467, 111, 69, 50, 5], [-1, ["turtle", 70], 258, 242, 35, 70, 50, 5], [-1, ["turtle", 71], 180, -112, 72, 71, 50, 5], [-1, ["turtle", 72], 269, 78, 351, 72, 50, 5], [-1, ["turtle", 73], 199, -109, 45, 73, 50, 5], [-1, ["turtle", 74], 166, -280, 181, 74, 50, 5], [-1, ["turtle", 75], -23, -173, 243, 75, 50, 5], [-1, ["turtle", 76], 78, 55, 244, 76, 50, 5], [-1, ["turtle", 77], 72, -246, 118, 77, 50, 5], [-1, ["turtle", 78], -46, 16, 11, 78, 50, 5], [-1, ["turtle", 79], -39, 254, 263, 79, 50, 5], [-1, ["turtle", 80], -230, -27, 247, 80, 50, 5], [-1, ["turtle", 81], -266, 173, 325, 81, 50, 5], [-1, ["turtle", 82], -63, -161, 192, 82, 50, 5], [-1, ["turtle", 83], -101, -413, 101, 83, 50, 5], [-1, ["turtle", 84], 332, -271, 347, 84, 50, 5], [-1, ["turtle", 85], -170, -221, 284, 85, 50, 5], [-1, ["turtle", 86], 41, -203, 183, 86, 50, 5], [-1, ["turtle", 87], -302, 437, 306, 87, 50, 5], [-1, ["turtle", 88], 29, 56, 339, 88, 50, 5], [-1, ["turtle", 89], -44, -264, 37, 89, 50, 5], [-1, ["turtle", 90], -252, -63, 285, 90, 50, 5], [-1, ["turtle", 91], -144, -231, 329, 91, 50, 5], [-1, ["turtle", 92], -61, -207, 205, 92, 50, 5], [-1, ["turtle", 93], -202, 137, 162, 93, 50, 5], [-1, ["turtle", 94], 410, -7, 115, 94, 50, 5], [-1, ["turtle", 95], 309, -5, 225, 95, 50, 5], [-1, ["turtle", 96], 369, 19, 60, 96, 50, 5], [-1, ["turtle", 97], 88, 342, 133, 97, 50, 5], [-1, ["turtle", 98], -162, -471, 315, 98, 50, 5], [-1, ["turtle", 99], -335, -88, 284, 99, 50, 5]] \ No newline at end of file
diff --git a/samples/About_me.ta b/samples/About_me.ta
index 05ecdaf..e136ce2 100644
--- a/samples/About_me.ta
+++ b/samples/About_me.ta
@@ -1 +1 @@
-[[0, "start", 235, 98, [null, 1]], [1, "stack1", 247, 148, [0, 2]], [2, "template1", 247, 187, [1, 3, 4, 5]], [3, ["string", "About me"], 257, 202, [2, null]], [4, ["journal", null], 257, 233, [2, null]], [5, "stack2", 247, 295, [2, 6]], [6, "stack1", 247, 334, [5, 7]], [7, "template6", 247, 373, [6, 8, 9, 10, 11]], [8, ["string", "My family"], 257, 388, [7, null]], [9, ["journal", null], 257, 419, [7, null]], [10, ["journal", null], 257, 476, [7, null]], [11, "stack2", 247, 535, [7, 12]], [12, "stack", 247, 574, [11, 13, null]], [13, ["string", "Part2"], 259, 586, [12, null]], [14, "hat", 406, 87, [null, 15, 16]], [15, ["string", "Part2"], 428, 114, [14, null]], [16, "stack1", 444, 157, [14, 17]], [17, "template7", 444, 196, [16, 18, 19, 20, 21, 22, 23]], [18, ["string", "My favorite things"], 454, 211, [17, null]], [19, ["journal", null], 454, 242, [17, null]], [20, ["journal", null], 534, 242, [17, null]], [21, ["journal", null], 454, 299, [17, null]], [22, ["journal", null], 534, 299, [17, null]], [23, "stack2", 444, 358, [17, 24]], [24, "stack1", 444, 397, [23, 25]], [25, "template3", 444, 436, [24, 26, 27, 28, 29, 30, 31, 32, 33, null]], [26, ["string", "Me"], 454, 450, [25, null]], [27, ["string", "Name"], 454, 476, [25, null]], [28, ["string", "Age"], 454, 502, [25, null]], [29, ["string", "Hair color"], 454, 528, [25, null]], [30, ["string", "Eye color"], 454, 554, [25, null]], [31, ["string", "Favorite color"], 454, 580, [25, null]], [32, ["string", "Favorite food"], 454, 606, [25, null]], [33, ["string", "Favorite hobby"], 454, 632, [25, null]], [34, "hat1", 713, 263, [null, 35]], [35, "clean", 725, 313, [34, null]], [36, "hat2", 720, 394, [null, 37]], [37, "wait", 732, 444, [36, 38, null]], [38, ["number", "30"], 806, 453, [37, null]], [-1, "turtle", -525.0, -30, 0, 0, 50, 5]] \ No newline at end of file
+[[0, "start", 163, 175, [null, 43]], [1, "stack1", 163, 251, [43, 44]], [2, ["journal", "./samples/images/me.jpg"], 273, 579, [56, null]], [3, "stack2", 163, 361, [57, 4]], [4, "stack1", 163, 395, [3, 9]], [5, "stack2", 163, 505, [22, 42]], [6, "hat1", 440, 175, [null, 7]], [7, "clean", 440, 217, [6, null]], [8, "hat2", 441, 273, [null, 39]], [9, "sandwichtop", 145, 429, [4, 10, 11]], [10, ["string", "fact list"], 248, 429, [9, null]], [11, "setxy", 163, 471, [9, 12, 13, 14]], [12, "titlex", 221, 471, [11, null]], [13, "titley", 221, 513, [11, null]], [14, "show", 163, 555, [11, 15, 16]], [15, ["string", "Me"], 221, 555, [14, null]], [16, "setxy", 163, 597, [14, 17, 18, 19]], [17, "leftx", 221, 597, [16, null]], [18, "topy", 221, 639, [16, null]], [19, ["list", 0], 163, 681, [16, 20, 21, 23, 24, 25, 26, 27, 22]], [20, ["string", "\u2219 Name"], 221, 681, [19, null]], [21, ["string", "\u2219 Age"], 221, 723, [19, null]], [22, ["sandwichcollapsed", 1], 163, 471, [19, 5]], [23, ["string", "\u2219 Hair color"], 221, 765, [19, null]], [24, ["string", "\u2219 Eye color"], 221, 807, [19, null]], [25, ["string", "\u2219 Favorite food"], 221, 849, [19, null]], [26, ["string", "\u2219 Favorite hobby"], 221, 891, [19, null]], [27, ["string", "\u2219 Favorite book"], 221, 933, [19, null]], [28, "forever", 441, 357, [39, 29, 41]], [29, "kbinput", 502, 375, [28, 30]], [30, ["vspace", 0], 502, 409, [29, 31]], [31, "if", 502, 443, [30, 32, 35, 36]], [32, "greater2", 540, 409, [31, 33, 34, null]], [33, "keyboard", 586, 409, [32, null]], [34, ["number", 0], 586, 451, [32, null]], [35, "stopstack", 554, 511, [31, null]], [36, ["vspace", 0], 502, 529, [31, 37]], [37, "wait", 502, 563, [36, 38, null]], [38, ["number", 1], 560, 563, [37, null]], [39, "sandwichtop", 423, 315, [8, 40, 28]], [40, ["string", "wait for keyboard input"], 526, 315, [39, null]], [41, ["sandwichcollapsed", 1], 441, 357, [28, null]], [42, "showblocks", 163, 539, [5, null]], [43, "hideblocks", 163, 217, [0, 1]], [44, "sandwichtop", 145, 285, [1, 45, 46]], [45, ["string", "picture"], 248, 285, [44, null]], [46, "setxy", 163, 327, [44, 47, 48, 49]], [47, "titlex", 221, 327, [46, null]], [48, "titley", 221, 369, [46, null]], [49, "show", 163, 411, [46, 50, 51]], [50, ["string", "About me"], 221, 411, [49, null]], [51, "setscale", 163, 453, [49, 52, 53]], [52, ["number", 90], 240, 453, [51, null]], [53, "setxy", 163, 495, [51, 54, 55, 56]], [54, "leftx", 221, 495, [53, null]], [55, "topy", 221, 537, [53, null]], [56, "showaligned", 163, 579, [53, 2, 57]], [57, ["sandwichcollapsed", 1], 163, 327, [56, 3]], [-1, ["turtle", 1], -787, -26, 0, 0, 50, 5]] \ No newline at end of file
diff --git a/samples/Pythagoras.ta b/samples/Pythagoras.ta
new file mode 100644
index 0000000..6f813c1
--- /dev/null
+++ b/samples/Pythagoras.ta
@@ -0,0 +1 @@
+[[0, "hat", 62, 495, [null, 1, 128]], [1, ["string", "draw b"], 120, 503, [0, null]], [2, "storeinbox1", 62, 587, [128, 3, 7]], [3, "division2", 180, 587, [2, 4, 6]], [4, "box", 234, 587, [3, 5, null]], [5, ["string", "side b"], 289, 587, [4, null]], [6, ["number", 2], 258, 633, [3, null]], [7, "forward", 62, 629, [2, 8, 122]], [8, "box1", 133, 629, [7, null]], [9, "forward", 62, 713, [122, 10, 130]], [10, "box1", 133, 713, [9, null]], [11, "hat", 389, 628, [null, 12, 137]], [12, ["string", "find h"], 447, 636, [11, null]], [13, "storein", 389, 720, [137, 14, 15, 29]], [14, ["string", "hypotenuse"], 457, 720, [13, null]], [15, "sqrt", 457, 762, [13, 16]], [16, "plus2", 511, 762, [15, 17, 23]], [17, ["identity2", 0], 565, 762, [16, 18]], [18, "product2", 619, 762, [17, 19, 21]], [19, "box", 673, 762, [18, 20, null]], [20, ["string", "side a"], 728, 762, [19, null]], [21, "box", 673, 804, [18, 22, null]], [22, ["string", "side a"], 728, 804, [21, null]], [23, ["identity2", 0], 565, 804, [16, 24]], [24, "product2", 619, 804, [23, 25, 27]], [25, "box", 673, 804, [24, 26, null]], [26, ["string", "side b"], 728, 804, [25, null]], [27, "box", 673, 846, [24, 28, null]], [28, ["string", "side b"], 728, 846, [27, null]], [29, ["vspace", 0], 389, 804, [13, 30]], [30, "storein", 389, 838, [29, 31, 32, 139]], [31, ["string", "radius"], 457, 838, [30, null]], [32, "division2", 457, 880, [30, 33, 35]], [33, "box", 511, 880, [32, 34, null]], [34, ["string", "hypotenuse"], 566, 880, [33, null]], [35, ["number", 2], 535, 926, [32, null]], [36, "hat", 66, 636, [null, 37, 131]], [37, ["string", "draw a"], 124, 644, [36, null]], [38, "storeinbox1", 66, 728, [131, 39, 43]], [39, "division2", 184, 728, [38, 40, 42]], [40, "box", 238, 728, [39, 41, null]], [41, ["string", "side a"], 293, 728, [40, null]], [42, ["number", 2], 262, 774, [39, null]], [43, "forward", 66, 770, [38, 44, 124]], [44, "box1", 137, 770, [43, null]], [45, "forward", 66, 854, [124, 46, 133]], [46, "box1", 137, 854, [45, null]], [47, "hat", 82, 781, [null, 48, 134]], [48, ["string", "draw h"], 140, 789, [47, null]], [49, "arc", 82, 873, [134, 50, 51, 53]], [50, ["number", 360], 140, 873, [49, null]], [51, "box", 140, 915, [49, 52, null]], [52, ["string", "radius"], 195, 915, [51, null]], [53, "print", 82, 957, [49, 54, 56]], [54, "box", 140, 957, [53, 55, null]], [55, ["string", "angle"], 195, 957, [54, null]], [56, "right", 82, 999, [53, 57, 58]], [57, ["number", 90], 140, 999, [56, null]], [58, "forward", 82, 1041, [56, 59, 126]], [59, "box", 153, 1041, [58, 60, null]], [60, ["string", "radius"], 208, 1041, [59, null]], [61, "forward", 82, 1125, [126, 62, 136]], [62, "box", 153, 1125, [61, 63, null]], [63, ["string", "radius"], 208, 1125, [62, null]], [64, "hat", 384, 777, [null, 65, 141]], [65, ["string", "find a"], 442, 785, [64, null]], [66, "storein", 384, 869, [141, 67, 68, 69]], [67, ["string", "angle"], 452, 869, [66, null]], [68, ["number", 0], 452, 911, [66, null]], [69, "setshade", 384, 953, [66, 70, 71]], [70, ["number", 95], 469, 953, [69, null]], [71, "repeat", 384, 995, [69, 72, 73, 143]], [72, ["number", 360], 435, 995, [71, null]], [73, "arc", 449, 1055, [71, 74, 75, 140]], [74, ["number", 180], 507, 1055, [73, null]], [75, "box", 507, 1097, [73, 76, null]], [76, ["string", "radius"], 562, 1097, [75, null]], [77, "if", 449, 1173, [140, 78, 81, 84]], [78, "greater2", 487, 1139, [77, 79, 80, null]], [79, "ycor", 533, 1139, [78, null]], [80, ["number", 0], 533, 1181, [78, null]], [81, "setshade", 501, 1241, [77, 82, 83]], [82, ["number", 50], 586, 1241, [81, null]], [83, "stopstack", 501, 1283, [81, null]], [84, ["vspace", 0], 449, 1259, [77, 85]], [85, "penup", 449, 1293, [84, 86]], [86, "storein", 449, 1327, [85, 87, 88, 92]], [87, ["string", "angle"], 517, 1327, [86, null]], [88, "plus2", 517, 1369, [86, 89, 91]], [89, "box", 571, 1369, [88, 90, null]], [90, ["string", "angle"], 626, 1369, [89, null]], [91, ["number", 1], 571, 1411, [88, null]], [92, "arc", 449, 1411, [86, 93, 94, 96]], [93, ["number", 180], 507, 1411, [92, null]], [94, "box", 507, 1453, [92, 95, null]], [95, ["string", "radius"], 562, 1453, [94, null]], [96, "right", 449, 1495, [92, 97, 98]], [97, ["number", 1], 507, 1495, [96, null]], [98, "pendown", 449, 1537, [96, null]], [99, "hideblocks", 709, 147, [144, 100]], [100, "clean", 709, 181, [99, 148]], [101, "storein", 709, 299, [148, 102, 103, 104]], [102, ["string", "side a"], 777, 299, [101, null]], [103, ["number", 200], 777, 341, [101, null]], [104, "storein", 709, 383, [101, 105, 106, 107]], [105, ["string", "side b"], 777, 383, [104, null]], [106, ["number", 450], 777, 425, [104, null]], [107, "stack", 709, 467, [104, 108, 109]], [108, ["string", "draw a"], 767, 467, [107, null]], [109, "right", 709, 509, [107, 110, 111]], [110, ["number", 90], 767, 509, [109, null]], [111, "stack", 709, 551, [109, 112, 113]], [112, ["string", "draw b"], 767, 551, [111, null]], [113, "stack", 709, 593, [111, 114, 115]], [114, ["string", "find h"], 767, 593, [113, null]], [115, "stack", 709, 635, [113, 116, 117]], [116, ["string", "find a"], 767, 635, [115, null]], [117, "stack", 709, 677, [115, 118, 119]], [118, ["string", "draw h"], 767, 677, [117, null]], [119, "setxy", 709, 719, [117, 146, 147, 149]], [120, ["journal", "./samples/images/Pythagoras.jpg"], 819, 803, [149, null]], [121, "start", 709, 63, [null, 144]], [122, "show", 62, 671, [7, 123, 9]], [123, ["string", "b"], 120, 671, [122, null]], [124, "show", 66, 812, [43, 125, 45]], [125, ["string", "a"], 124, 812, [124, null]], [126, "show", 82, 1083, [58, 127, 61]], [127, ["string", "h"], 140, 1083, [126, null]], [128, "sandwichtop", 44, 545, [0, 129, 2]], [129, ["string", "draw side b"], 147, 545, [128, null]], [130, ["sandwichcollapsed", 1], 62, 587, [9, null]], [131, "sandwichtop", 48, 686, [36, 132, 38]], [132, ["string", "draw side a"], 151, 686, [131, null]], [133, ["sandwichcollapsed", 1], 66, 728, [45, null]], [134, "sandwichtop", 64, 831, [47, 135, 49]], [135, ["string", "draw side h"], 167, 831, [134, null]], [136, ["sandwichcollapsed", 1], 82, 873, [61, null]], [137, "sandwichtop", 371, 678, [11, 138, 13]], [138, ["string", "find length h"], 474, 678, [137, null]], [139, ["sandwichcollapsed", 1], 389, 720, [30, null]], [140, ["vspace", 0], 449, 1139, [73, 77]], [141, "sandwichtop", 366, 827, [64, 142, 66]], [142, ["string", "find angle ah"], 469, 827, [141, null]], [143, ["sandwichcollapsed", 1], 384, 869, [71, null]], [144, "sandwichtop", 691, 105, [121, 145, 99]], [145, ["string", "given a, b find h and the angle ah"], 794, 105, [144, null]], [146, "leftpos", 767, 719, [119, null]], [147, "toppos", 767, 761, [119, null]], [148, "setxy", 709, 215, [100, 155, 151, 101]], [149, "showaligned", 709, 803, [119, 120, 150]], [150, ["sandwichcollapsed", 1], 709, 147, [149, null]], [151, ["number", "0"], 767, 257, [148, null]], [152, ["number", "-4"], 979, 261, [154, null]], [153, "width", 955, 215, [154, null]], [154, "division2", 901, 215, [155, 153, 152]], [155, ["identity2", 40], 767, 215, [148, 154]], [-1, ["turtle", 1], -840, 525, 67.0, 0, 50.0, 5]] \ No newline at end of file
diff --git a/samples/Que_Como_Por_que_Para_que.ta b/samples/Que_Como_Por_que_Para_que.ta
index 1fd2bdf..3670aa1 100644
--- a/samples/Que_Como_Por_que_Para_que.ta
+++ b/samples/Que_Como_Por_que_Para_que.ta
@@ -1 +1 @@
-[[0, "hat1", 678, 49, [null, 1]], [1, "clean", 690, 99, [0, null]], [2, "hat2", 684, 197, [null, 3]], [3, "wait", 696, 247, [2, 4, null]], [4, ["number", "30"], 770, 256, [3, null]], [5, "stack1", 313, 58, [24, 6]], [6, "template1", 313, 97, [5, 7, 8, 9]], [7, ["string", "\u00bfQu\u00e9?"], 323, 112, [6, null]], [8, ["journal", null], 323, 143, [6, null]], [9, "stack2", 313, 205, [6, 10]], [10, "stack1", 313, 244, [9, 11]], [11, "template1", 313, 283, [10, 12, 13, 14]], [12, ["string", "\u00bfC\u00f3mo?"], 323, 298, [11, null]], [13, ["journal", null], 323, 329, [11, null]], [14, "stack2", 313, 391, [11, 15]], [15, "stack1", 313, 430, [14, 16]], [16, "template1", 313, 469, [15, 17, 18, 19]], [17, ["string", "\u00bfPor qu\u00e9?"], 323, 484, [16, null]], [18, ["journal", null], 323, 515, [16, null]], [19, "stack2", 313, 577, [16, 20]], [20, "stack1", 313, 616, [19, 21]], [21, "template1", 313, 655, [20, 22, 23, null]], [22, ["string", "\u00bfPara qui?"], 323, 670, [21, null]], [23, ["journal", null], 323, 701, [21, null]], [24, "start", 301, 8, [null, 5]], [-1, "turtle", 0, 354, 0, 0, 50, 5]] \ No newline at end of file
+[[0, "start", 237, 175, [null, 1]], [1, "stack1", 237, 217, [0, 8]], [2, "stack2", 237, 327, [27, 28]], [3, "hat1", 481, 175, [null, 4]], [4, "clean", 481, 217, [3, null]], [5, "hat2", 482, 284, [null, 6]], [6, "wait", 482, 326, [5, 7, null]], [7, ["number", 30], 540, 326, [6, null]], [8, "sandwichtop", 219, 251, [1, 9, 10]], [9, ["string", "\u00bfQu\u00e9?"], 322, 251, [8, null]], [10, "setxy", 237, 293, [8, 11, 12, 13]], [11, "titlex", 295, 293, [10, null]], [12, "titley", 295, 335, [10, null]], [13, "show", 237, 377, [10, 14, 15]], [14, ["string", "\u00bfQu\u00e9?"], 295, 377, [13, null]], [15, "setscale", 237, 419, [13, 16, 17]], [16, ["number", 45], 314, 419, [15, null]], [17, "setxy", 237, 461, [15, 18, 19, 20]], [18, "leftx", 295, 461, [17, null]], [19, "topy", 295, 503, [17, null]], [20, "showaligned", 237, 545, [17, 21, 22]], [21, ["journal", null], 347, 545, [20, null]], [22, "setxy", 237, 587, [20, 23, 24, 25]], [23, "rightx", 295, 587, [22, null]], [24, "topy", 295, 629, [22, null]], [25, "showaligned", 237, 671, [22, 26, 27]], [26, ["description", null], 347, 671, [25, null]], [27, ["sandwichcollapsed", 1], 237, 293, [25, 2]], [28, "stack1", 237, 361, [2, 29]], [29, "sandwichtop", 219, 395, [28, 30, 31]], [30, ["string", "\u00bfC\u00f3mo?"], 322, 395, [29, null]], [31, "setxy", 237, 437, [29, 32, 33, 34]], [32, "titlex", 295, 437, [31, null]], [33, "titley", 295, 479, [31, null]], [34, "show", 237, 521, [31, 35, 36]], [35, ["string", "\u00bfC\u00f3mo?"], 295, 521, [34, null]], [36, "setscale", 237, 563, [34, 37, 38]], [37, ["number", 45], 314, 563, [36, null]], [38, "setxy", 237, 605, [36, 39, 40, 41]], [39, "leftx", 295, 605, [38, null]], [40, "topy", 295, 647, [38, null]], [41, "showaligned", 237, 689, [38, 42, 43]], [42, ["journal", null], 347, 689, [41, null]], [43, "setxy", 237, 731, [41, 44, 45, 46]], [44, "rightx", 295, 731, [43, null]], [45, "topy", 295, 773, [43, null]], [46, "showaligned", 237, 815, [43, 47, 48]], [47, ["description", null], 347, 815, [46, null]], [48, ["sandwichcollapsed", 1], 237, 437, [46, 49]], [49, "stack2", 237, 471, [48, 72]], [50, "stack1", 237, 649, [93, 51]], [51, "sandwichtop", 219, 683, [50, 52, 53]], [52, ["string", "\u00bfPor qu\u00e9?"], 322, 683, [51, null]], [53, "setxy", 237, 725, [51, 54, 55, 56]], [54, "titlex", 295, 725, [53, null]], [55, "titley", 295, 767, [53, null]], [56, "show", 237, 809, [53, 57, 58]], [57, ["string", "\u00bfPor qu\u00e9?"], 295, 809, [56, null]], [58, "setscale", 237, 851, [56, 59, 60]], [59, ["number", 45], 314, 851, [58, null]], [60, "setxy", 237, 893, [58, 61, 62, 63]], [61, "leftx", 295, 893, [60, null]], [62, "topy", 295, 935, [60, null]], [63, "showaligned", 237, 977, [60, 64, 65]], [64, ["journal", null], 347, 977, [63, null]], [65, "setxy", 237, 1019, [63, 66, 67, 68]], [66, "rightx", 295, 1019, [65, null]], [67, "topy", 295, 1061, [65, null]], [68, "showaligned", 237, 1103, [65, 69, 70]], [69, ["description", null], 347, 1103, [68, null]], [70, ["sandwichcollapsed", 1], 237, 725, [68, 71]], [71, "stack2", 237, 759, [70, null]], [72, "stack1", 237, 505, [49, 73]], [73, "sandwichtop", 219, 539, [72, 74, 75]], [74, ["string", "\u00bfPara qui?"], 322, 539, [73, null]], [75, "setxy", 237, 581, [73, 76, 77, 78]], [76, "titlex", 295, 581, [75, null]], [77, "titley", 295, 623, [75, null]], [78, "show", 237, 665, [75, 79, 80]], [79, ["string", "\u00bfPara qui?"], 295, 665, [78, null]], [80, "setscale", 237, 707, [78, 81, 82]], [81, ["number", 45], 314, 707, [80, null]], [82, "setxy", 237, 749, [80, 83, 84, 85]], [83, "leftx", 295, 749, [82, null]], [84, "topy", 295, 791, [82, null]], [85, "showaligned", 237, 833, [82, 86, 87]], [86, ["journal", null], 347, 833, [85, null]], [87, "setxy", 237, 875, [85, 88, 89, 90]], [88, "rightx", 295, 875, [87, null]], [89, "topy", 295, 917, [87, null]], [90, "showaligned", 237, 959, [87, 91, 92]], [91, ["description", null], 347, 959, [90, null]], [92, ["sandwichcollapsed", 1], 237, 581, [90, 93]], [93, "stack2", 237, 615, [92, 50]], [-1, ["turtle", 1], 0, 354, 0, 0, 50, 5]]
diff --git a/samples/What_How_Why_For_whom.ta b/samples/What_How_Why_For_whom.ta
index 3cc9678..39edbaa 100644
--- a/samples/What_How_Why_For_whom.ta
+++ b/samples/What_How_Why_For_whom.ta
@@ -1 +1 @@
-[[0, "start", 311, 5, [null, 1]], [1, "stack1", 323, 55, [0, 2]], [2, "template1", 323, 94, [1, 3, 4, 5]], [3, ["string", "What?"], 333, 109, [2, null]], [4, ["journal", null], 333, 140, [2, null]], [5, "stack2", 323, 202, [2, 6]], [6, "stack1", 323, 241, [5, 7]], [7, "template1", 323, 280, [6, 8, 9, 10]], [8, ["string", "How?"], 333, 295, [7, null]], [9, ["journal", null], 333, 326, [7, null]], [10, "stack2", 323, 388, [7, 11]], [11, "stack1", 323, 427, [10, 12]], [12, "template1", 323, 466, [11, 13, 14, 15]], [13, ["string", "Why?"], 333, 481, [12, null]], [14, ["journal", null], 333, 512, [12, null]], [15, "stack2", 323, 574, [12, 16]], [16, "stack1", 323, 613, [15, 17]], [17, "template1", 323, 652, [16, 18, 19, null]], [18, ["string", "For whom?"], 333, 667, [17, null]], [19, ["journal", null], 333, 698, [17, null]], [20, "hat1", 532, 527, [null, 21]], [21, "clean", 544, 577, [20, null]], [22, "hat2", 532, 640, [null, 23]], [23, "wait", 544, 690, [22, 24, null]], [24, ["number", "30"], 618, 699, [23, null]], [-1, "turtle", 0, 354, 0, 0, 50, 5]] \ No newline at end of file
+[[0, "start", 237, 175, [null, 1]], [1, "stack1", 237, 217, [0, 8]], [2, "stack2", 237, 327, [27, 28]], [3, "hat1", 481, 175, [null, 4]], [4, "clean", 481, 217, [3, null]], [5, "hat2", 482, 284, [null, 6]], [6, "wait", 482, 326, [5, 7, null]], [7, ["number", 30], 540, 326, [6, null]], [8, "sandwichtop", 219, 251, [1, 9, 10]], [9, ["string", "What?"], 322, 251, [8, null]], [10, "setxy", 237, 293, [8, 11, 12, 13]], [11, "titlex", 295, 293, [10, null]], [12, "titley", 295, 335, [10, null]], [13, "show", 237, 377, [10, 14, 15]], [14, ["string", "What?"], 295, 377, [13, null]], [15, "setscale", 237, 419, [13, 16, 17]], [16, ["number", 45], 314, 419, [15, null]], [17, "setxy", 237, 461, [15, 18, 19, 20]], [18, "leftx", 295, 461, [17, null]], [19, "topy", 295, 503, [17, null]], [20, "showaligned", 237, 545, [17, 21, 22]], [21, ["journal", null], 347, 545, [20, null]], [22, "setxy", 237, 587, [20, 23, 24, 25]], [23, "rightx", 295, 587, [22, null]], [24, "topy", 295, 629, [22, null]], [25, "showaligned", 237, 671, [22, 26, 27]], [26, ["description", null], 347, 671, [25, null]], [27, ["sandwichcollapsed", 1], 237, 293, [25, 2]], [28, "stack1", 237, 361, [2, 29]], [29, "sandwichtop", 219, 395, [28, 30, 31]], [30, ["string", "How?"], 322, 395, [29, null]], [31, "setxy", 237, 437, [29, 32, 33, 34]], [32, "titlex", 295, 437, [31, null]], [33, "titley", 295, 479, [31, null]], [34, "show", 237, 521, [31, 35, 36]], [35, ["string", "How?"], 295, 521, [34, null]], [36, "setscale", 237, 563, [34, 37, 38]], [37, ["number", 45], 314, 563, [36, null]], [38, "setxy", 237, 605, [36, 39, 40, 41]], [39, "leftx", 295, 605, [38, null]], [40, "topy", 295, 647, [38, null]], [41, "showaligned", 237, 689, [38, 42, 43]], [42, ["journal", null], 347, 689, [41, null]], [43, "setxy", 237, 731, [41, 44, 45, 46]], [44, "rightx", 295, 731, [43, null]], [45, "topy", 295, 773, [43, null]], [46, "showaligned", 237, 815, [43, 47, 48]], [47, ["description", null], 347, 815, [46, null]], [48, ["sandwichcollapsed", 1], 237, 437, [46, 49]], [49, "stack2", 237, 471, [48, 72]], [50, "stack1", 237, 649, [93, 51]], [51, "sandwichtop", 219, 683, [50, 52, 53]], [52, ["string", "For whom?"], 322, 683, [51, null]], [53, "setxy", 237, 725, [51, 54, 55, 56]], [54, "titlex", 295, 725, [53, null]], [55, "titley", 295, 767, [53, null]], [56, "show", 237, 809, [53, 57, 58]], [57, ["string", "For whom?"], 295, 809, [56, null]], [58, "setscale", 237, 851, [56, 59, 60]], [59, ["number", 45], 314, 851, [58, null]], [60, "setxy", 237, 893, [58, 61, 62, 63]], [61, "leftx", 295, 893, [60, null]], [62, "topy", 295, 935, [60, null]], [63, "showaligned", 237, 977, [60, 64, 65]], [64, ["journal", null], 347, 977, [63, null]], [65, "setxy", 237, 1019, [63, 66, 67, 68]], [66, "rightx", 295, 1019, [65, null]], [67, "topy", 295, 1061, [65, null]], [68, "showaligned", 237, 1103, [65, 69, 70]], [69, ["description", null], 347, 1103, [68, null]], [70, ["sandwichcollapsed", 1], 237, 725, [68, 71]], [71, "stack2", 237, 759, [70, null]], [72, "stack1", 237, 505, [49, 73]], [73, "sandwichtop", 219, 539, [72, 74, 75]], [74, ["string", "Why?"], 322, 539, [73, null]], [75, "setxy", 237, 581, [73, 76, 77, 78]], [76, "titlex", 295, 581, [75, null]], [77, "titley", 295, 623, [75, null]], [78, "show", 237, 665, [75, 79, 80]], [79, ["string", "Why?"], 295, 665, [78, null]], [80, "setscale", 237, 707, [78, 81, 82]], [81, ["number", 45], 314, 707, [80, null]], [82, "setxy", 237, 749, [80, 83, 84, 85]], [83, "leftx", 295, 749, [82, null]], [84, "topy", 295, 791, [82, null]], [85, "showaligned", 237, 833, [82, 86, 87]], [86, ["journal", null], 347, 833, [85, null]], [87, "setxy", 237, 875, [85, 88, 89, 90]], [88, "rightx", 295, 875, [87, null]], [89, "topy", 295, 917, [87, null]], [90, "showaligned", 237, 959, [87, 91, 92]], [91, ["description", null], 347, 959, [90, null]], [92, ["sandwichcollapsed", 1], 237, 581, [90, 93]], [93, "stack2", 237, 615, [92, 50]], [-1, ["turtle", 1], 0, 354, 0, 0, 50, 5]] \ No newline at end of file
diff --git a/samples/birds.ta b/samples/birds.ta
index 2619ead..95a0a6f 100644
--- a/samples/birds.ta
+++ b/samples/birds.ta
@@ -1 +1 @@
-[[0, "start", 210, 23, [null, 1]], [1, "clean", 222, 73, [0, 2]], [2, "repeat", 222, 112, [1, 3, 4, null]], [3, ["number", "30"], 308, 121, [2, null]], [4, "setxy", 317, 161, [2, 5, 8, 11]], [5, "random", 391, 151, [4, 6, 7, null]], [6, ["number", "-600"], 419, 170, [5, null]], [7, ["number", "600"], 541, 170, [5, null]], [8, "random", 391, 188, [4, 9, 10, null]], [9, ["number", "-450"], 419, 207, [8, null]], [10, ["number", "450"], 541, 207, [8, null]], [11, "setpensize", 317, 237, [4, 12, 13]], [12, ["number", "10"], 391, 254, [11, null]], [13, "repeat", 317, 291, [11, 14, 15, null]], [14, ["number", "720"], 403, 300, [13, null]], [15, "forward", 412, 340, [13, 16, 17]], [16, ["number", "200"], 486, 349, [15, null]], [17, "setcolor", 412, 379, [15, 18, 21]], [18, "division2", 486, 372, [17, 19, 20]], [19, "xcor", 526, 380, [18, null]], [20, ["number", "5"], 545, 413, [18, null]], [21, "setshade", 412, 433, [17, 22, 23]], [22, "heading", 486, 450, [21, null]], [23, "back", 412, 487, [21, 24, 25]], [24, ["number", "400"], 486, 496, [23, null]], [25, "forward", 412, 526, [23, 26, 29]], [26, "random", 486, 516, [25, 27, 28, null]], [27, ["number", "190"], 514, 535, [26, null]], [28, ["number", "210"], 636, 535, [26, null]], [29, "left", 412, 565, [25, 30, null]], [30, ["number", "1"], 486, 574, [29, null]], [-1, "turtle", 397.92803801392898, 314.2997786718239, 29.0, 79.585607602785799, 29.0, 10.0]] \ No newline at end of file
+[[0, "start", 176, 175, [null, 1]], [1, "clean", 176, 217, [0, 2]], [2, "repeat", 176, 251, [1, 3, 4, null]], [3, ["number", 30], 227, 251, [2, null]], [4, "setxy", 241, 311, [2, 31, 8, 32]], [5, "random", 473, 311, [31, 6, 7, null]], [6, ["number", -600], 559, 311, [5, null]], [7, ["number", 600], 559, 353, [5, null]], [8, "random", 299, 353, [4, 9, 10, null]], [9, ["number", -450], 385, 353, [8, null]], [10, ["number", 450], 385, 395, [8, null]], [11, "setpensize", 241, 429, [32, 12, 13]], [12, ["number", 10], 343, 429, [11, null]], [13, "repeat", 241, 471, [11, 14, 15, null]], [14, ["number", 720], 292, 471, [13, null]], [15, "forward", 306, 531, [13, 16, 21]], [16, ["number", 200], 377, 531, [15, null]], [17, "setcolor", 306, 615, [21, 18, 33]], [18, "division2", 383, 615, [17, 19, 20]], [19, "xcor", 437, 615, [18, null]], [20, ["number", 5], 461, 661, [18, null]], [21, "setshade", 306, 573, [15, 22, 17]], [22, "heading", 391, 573, [21, null]], [23, "back", 306, 691, [33, 24, 25]], [24, ["number", 400], 364, 691, [23, null]], [25, "forward", 306, 733, [23, 26, 34]], [26, "random", 377, 733, [25, 27, 28, null]], [27, ["number", 190], 463, 733, [26, null]], [28, ["number", 210], 463, 775, [26, null]], [29, "left", 306, 809, [34, 30, null]], [30, ["number", 1], 364, 809, [29, null]], [31, ["identity2", 60], 299, 311, [4, 5]], [32, ["vspace", 0], 241, 395, [4, 11]], [33, ["vspace", 0], 306, 657, [17, 23]], [34, ["vspace", 0], 306, 775, [25, 29]], [-1, ["turtle", 1], 109, 460, 323.0, -2.3992725042378367, 323.0, 10.0]] \ No newline at end of file
diff --git a/samples/bubbles.ta b/samples/bubbles.ta
index 0989b81..25331a7 100644
--- a/samples/bubbles.ta
+++ b/samples/bubbles.ta
@@ -1 +1 @@
-[[0, "setcolor", 219, 125, [16, 1, 2]], [1, ["number", "60"], 293, 142, [0, null]], [2, "repeat", 219, 179, [0, 3, 4, null]], [3, ["number", "5000"], 305, 188, [2, null]], [4, "setxy", 314, 228, [2, 5, 8, 11]], [5, "random", 388, 218, [4, 6, 7, null]], [6, ["number", "-600"], 416, 237, [5, null]], [7, ["number", "600"], 538, 237, [5, null]], [8, "random", 388, 255, [4, 9, 10, null]], [9, ["number", "-450"], 416, 274, [8, null]], [10, ["number", "450"], 538, 274, [8, null]], [11, "storeinbox1", 314, 304, [4, 18, 12]], [12, "setpensize", 314, 358, [11, 24, 13]], [13, "setshade", 314, 412, [12, 21, 14]], [14, "forward", 314, 466, [13, 15, null]], [15, ["number", "1"], 388, 475, [14, null]], [16, "clean", 219, 86, [17, 0]], [17, "start", 207, 36, [null, 16]], [18, "plus2", 388, 297, [11, 19, 20]], [19, "ycor", 428, 305, [18, null]], [20, ["number", "900"], 428, 338, [18, null]], [21, "division2", 388, 405, [13, 22, 23]], [22, "box1", 428, 413, [21, null]], [23, ["number", "12"], 447, 446, [21, null]], [24, "division2", 388, 351, [12, 25, 26]], [25, "box1", 428, 359, [24, null]], [26, ["number", "9"], 447, 392, [24, null]], [-1, "turtle", -516.0, -166.0, 0, 60.0, 61.083333333333336, 81.444444444444443]] \ No newline at end of file
+[[0, "setcolor", 252, 251, [12, 1, 2]], [1, ["number", 60], 329, 251, [0, null]], [2, "repeat", 252, 293, [0, 3, 4, null]], [3, ["number", 5000], 303, 293, [2, null]], [4, "setxy", 317, 353, [2, 23, 6, 28]], [5, "random", 589, 353, [23, 24, 25, null]], [6, "random", 375, 395, [4, 26, 27, null]], [7, "storeinbox1", 317, 471, [28, 14, 29]], [8, "setpensize", 317, 547, [29, 20, 30]], [9, "setshade", 317, 623, [30, 17, 31]], [10, "forward", 317, 699, [31, 11, null]], [11, ["number", 1], 388, 699, [10, null]], [12, "clean", 252, 217, [13, 0]], [13, "start", 252, 175, [null, 12]], [14, "plus2", 435, 471, [7, 15, 16]], [15, "ycor", 489, 471, [14, null]], [16, ["number", 900], 489, 513, [14, null]], [17, "division2", 402, 623, [9, 18, 19]], [18, "box1", 456, 623, [17, null]], [19, ["number", 12], 480, 669, [17, null]], [20, "division2", 419, 547, [8, 21, 22]], [21, "box1", 473, 547, [20, null]], [22, ["number", 9], 497, 593, [20, null]], [23, ["identity2", 80], 375, 353, [4, 5]], [24, "leftpos", 675, 353, [5, null]], [25, "rightpos", 675, 395, [5, null]], [26, "bottompos", 461, 395, [6, null]], [27, "toppos", 461, 437, [6, null]], [28, ["vspace", 0], 317, 437, [4, 7]], [29, ["vspace", 0], 317, 513, [7, 8]], [30, ["vspace", 0], 317, 589, [8, 9]], [31, ["vspace", 0], 317, 665, [9, 10]], [-1, ["turtle", 1], 528, 31, 0, 60.0, 77.5, 103.33333333333333]] \ No newline at end of file
diff --git a/samples/candyvortex.ta b/samples/candyvortex.ta
index d0d2dea..81b7da5 100644
--- a/samples/candyvortex.ta
+++ b/samples/candyvortex.ta
@@ -1 +1 @@
-[[0, "start", 215, 23, [null, 1]], [1, "clean", 227, 73, [0, 2]], [2, "repeat", 227, 112, [1, 3, 4, null]], [3, ["number", "350"], 313, 121, [2, null]], [4, "setpensize", 322, 161, [2, 5, 6]], [5, "heading", 396, 178, [4, null]], [6, "forward", 322, 215, [4, 7, 8]], [7, ["number", "1000"], 396, 224, [6, null]], [8, "setcolor", 322, 254, [6, 9, 10]], [9, "xcor", 396, 271, [8, null]], [10, "setshade", 322, 308, [8, 11, 12]], [11, "ycor", 396, 325, [10, null]], [12, "back", 322, 362, [10, 13, 14]], [13, ["number", "1000"], 396, 371, [12, null]], [14, "left", 322, 401, [12, 15, null]], [15, ["number", "1"], 396, 410, [14, null]], [-1, "turtle", 0.0, 0.0, 10.0, 190.8089953765448, 981.62718344766392, 11.0]] \ No newline at end of file
+[[0, "start", 226, 175, [null, 1]], [1, "clean", 226, 217, [0, 2]], [2, "repeat", 226, 251, [1, 3, 4, null]], [3, ["number", 350], 277, 251, [2, null]], [4, "setpensize", 291, 311, [2, 5, 6]], [5, "heading", 393, 311, [4, null]], [6, "forward", 291, 353, [4, 7, 8]], [7, ["number", 1000], 362, 353, [6, null]], [8, "setcolor", 291, 395, [6, 9, 10]], [9, "xcor", 368, 395, [8, null]], [10, "setshade", 291, 437, [8, 11, 12]], [11, "ycor", 376, 437, [10, null]], [12, "back", 291, 479, [10, 13, 14]], [13, ["number", 1000], 349, 479, [12, null]], [14, "left", 291, 521, [12, 15, null]], [15, ["number", 1], 349, 521, [14, null]], [-1, ["turtle", 1], 0, 0, 10.0, 190.8089953765448, 981.62718344766392, 11.0]] \ No newline at end of file
diff --git a/samples/cherlin.ta b/samples/cherlin.ta
new file mode 100644
index 0000000..5027788
--- /dev/null
+++ b/samples/cherlin.ta
@@ -0,0 +1 @@
+[[0, "hat1", 555, 188, [null, 1]], [1, "repeat", 555, 230, [0, 2, 3, null]], [2, ["number", 100], 606, 230, [1, null]], [3, "setpensize", 620, 290, [1, 81, 4]], [4, "setcolor", 620, 332, [3, 5, 83]], [5, "plus2", 697, 332, [4, 6, 7]], [6, "color", 751, 332, [5, null]], [7, ["number", 2], 751, 374, [5, null]], [8, "setxy", 620, 408, [83, 9, 10, 84]], [9, ["number", 0], 678, 408, [8, null]], [10, "minus2", 678, 450, [8, 11, 12]], [11, ["number", 0], 732, 450, [10, null]], [12, "box1", 756, 496, [10, null]], [13, "seth", 620, 526, [84, 14, 15]], [14, ["number", 270], 719, 526, [13, null]], [15, "arc", 620, 568, [13, 16, 17, 18]], [16, ["number", 360], 678, 568, [15, null]], [17, "box1", 678, 610, [15, null]], [18, "setxy", 620, 652, [15, 19, 20, 85]], [19, ["number", 400], 678, 652, [18, null]], [20, "minus2", 678, 694, [18, 21, 22]], [21, "box1", 732, 694, [20, null]], [22, ["number", 200], 756, 740, [20, null]], [23, "forward", 620, 770, [85, 24, 25]], [24, ["number", 800], 691, 770, [23, null]], [25, "stack2", 620, 812, [23, 26]], [26, "storeinbox1", 620, 846, [25, 27, null]], [27, "plus2", 738, 846, [26, 28, 29]], [28, "box1", 792, 846, [27, null]], [29, ["number", 4], 792, 888, [27, null]], [30, "start", 265, 195, [null, 31]], [31, "clean", 265, 237, [30, 32]], [32, "setpensize", 265, 271, [31, 82, 33]], [33, "storeinbox1", 265, 313, [32, 34, 35]], [34, ["number", 100], 383, 313, [33, null]], [35, "setcolor", 265, 355, [33, 36, 37]], [36, ["number", 0], 342, 355, [35, null]], [37, "setxy", 265, 397, [35, 38, 39, 40]], [38, ["number", 400], 323, 397, [37, null]], [39, ["number", -200], 323, 439, [37, null]], [40, "seth", 265, 481, [37, 41, 42]], [41, ["number", 270], 364, 481, [40, null]], [42, "forward", 265, 523, [40, 43, 44]], [43, ["number", 800], 336, 523, [42, null]], [44, "setxy", 265, 565, [42, 45, 46, 47]], [45, ["number", 0], 323, 565, [44, null]], [46, ["number", 0], 323, 607, [44, null]], [47, "forward", 265, 649, [44, 48, 49]], [48, ["number", 0], 336, 649, [47, null]], [49, "stack1", 265, 691, [47, null]], [50, "hat2", 930, 192, [null, 51]], [51, "setpensize", 930, 234, [50, 52, 53]], [52, ["number", 8], 1032, 234, [51, null]], [53, "storeinbox2", 930, 276, [51, 54, 60]], [54, "product2", 1048, 276, [53, 55, 56]], [55, ["number", 20], 1102, 276, [54, null]], [56, "sqrt", 1102, 318, [54, 57]], [57, "minus2", 1156, 318, [56, 58, 59]], [58, "box1", 1210, 318, [57, null]], [59, ["number", 100], 1234, 364, [57, null]], [60, ["vspace", 0], 930, 318, [53, 61]], [61, "setxy", 930, 352, [60, 62, 63, 66]], [62, "box2", 988, 352, [61, null]], [63, "minus2", 988, 394, [61, 64, 65]], [64, "box1", 1042, 394, [63, null]], [65, ["number", 200], 1066, 440, [63, null]], [66, ["vspace", 0], 930, 436, [61, 67]], [67, "forward", 930, 470, [66, 68, 70]], [68, ["identity2", 0], 1001, 470, [67, 69]], [69, ["number", 0], 1055, 470, [68, null]], [70, "setxy", 930, 512, [67, 74, 75, 78]], [71, "minus2", 1162, 512, [74, 72, 73]], [72, ["number", 0], 1216, 512, [71, null]], [73, "box2", 1240, 558, [71, null]], [74, ["identity2", 60], 988, 512, [70, 71]], [75, "minus2", 988, 554, [70, 76, 77]], [76, "box1", 1042, 554, [75, null]], [77, ["number", 200], 1066, 600, [75, null]], [78, ["vspace", 0], 930, 596, [70, 79]], [79, "forward", 930, 630, [78, 80, null]], [80, ["number", 0], 1001, 630, [79, null]], [81, ["number", 1], 722, 290, [3, null]], [82, ["number", 3], 367, 271, [32, null]], [83, ["vspace", 0], 620, 374, [4, 8]], [84, ["vspace", 0], 620, 492, [8, 13]], [85, ["vspace", 0], 620, 736, [18, 23]], [-1, ["turtle", 1], -397, 296, 270.0, 200.0, 50, 8.0]] \ No newline at end of file
diff --git a/samples/clock.ta b/samples/clock.ta
index 43a9cf8..0e981e6 100644
--- a/samples/clock.ta
+++ b/samples/clock.ta
@@ -1 +1 @@
-[[0, "hat", -4, 831, [null, 1, 2]], [1, ["string", "show seconds"], 17, 858, [0, null]], [2, "if", 34, 901, [0, 3, 8, 9]], [3, "equal", 114, 911, [2, 4, 6, null]], [4, "box", 146, 915, [3, 5, null]], [5, ["string", "old second"], 164, 920, [4, null]], [6, "box", 295, 915, [3, 7, null]], [7, ["string", "seconds"], 313, 920, [6, null]], [8, "stopstack", 129, 975, [2, null]], [9, "setcolor", 34, 1016, [2, 10, 11]], [10, ["number", "60"], 108, 1033, [9, null]], [11, "setshade", 34, 1070, [9, 12, 13]], [12, ["number", "100"], 108, 1087, [11, null]], [13, "seth", 34, 1124, [11, 14, 20]], [14, "product2", 108, 1109, [13, 15, 17]], [15, "box", 148, 1112, [14, 16, null]], [16, ["string", "old second"], 166, 1117, [15, null]], [17, "division2", 148, 1126, [14, 18, 19]], [18, ["number", "360"], 188, 1134, [17, null]], [19, ["number", "60"], 207, 1167, [17, null]], [20, "setpensize", 34, 1163, [13, 21, 22]], [21, ["number", "5"], 108, 1180, [20, null]], [22, "forward", 34, 1217, [20, 23, 24]], [23, ["number", "225"], 108, 1226, [22, null]], [24, "back", 34, 1256, [22, 25, 26]], [25, ["number", "225"], 108, 1265, [24, null]], [26, "setshade", 34, 1295, [24, 27, 28]], [27, ["number", "50"], 108, 1312, [26, null]], [28, "setcolor", 34, 1349, [26, 29, 30]], [29, ["number", "0"], 108, 1366, [28, null]], [30, "seth", 34, 1403, [28, 31, 37]], [31, "product2", 108, 1388, [30, 32, 34]], [32, "box", 148, 1391, [31, 33, null]], [33, ["string", "seconds"], 166, 1396, [32, null]], [34, "division2", 148, 1405, [31, 35, 36]], [35, ["number", "360"], 188, 1413, [34, null]], [36, ["number", "60"], 207, 1446, [34, null]], [37, "setpensize", 34, 1442, [30, 38, 39]], [38, ["number", "5"], 108, 1459, [37, null]], [39, "forward", 34, 1496, [37, 40, 41]], [40, ["number", "225"], 108, 1505, [39, null]], [41, "back", 34, 1535, [39, 42, 43]], [42, ["number", "225"], 108, 1544, [41, null]], [43, "storein", 34, 1574, [41, 44, 45, null]], [44, ["string", "old second"], 46, 1601, [43, null]], [45, "box", 164, 1587, [43, 46, null]], [46, ["string", "seconds"], 182, 1592, [45, null]], [47, "hat", 900, 833, [null, 48, 49]], [48, ["string", "dial"], 921, 860, [47, null]], [49, "clean", 938, 903, [47, 50]], [50, "fillscreen", 938, 942, [49, 51, 52, 53]], [51, ["number", "60"], 1012, 951, [50, null]], [52, ["number", "100"], 1012, 988, [50, null]], [53, "setpensize", 938, 1018, [50, 54, 55]], [54, ["number", "10"], 1012, 1035, [53, null]], [55, "setxy", 938, 1072, [53, 56, 57, 58]], [56, ["number", "-300"], 1012, 1081, [55, null]], [57, ["number", "0"], 1012, 1118, [55, null]], [58, "repeat", 938, 1148, [55, 59, 60, 64]], [59, ["number", "12"], 1024, 1157, [58, null]], [60, "setcolor", 1033, 1197, [58, 284, 61]], [61, "arc", 1033, 1251, [60, 62, 63, null]], [62, ["number", "30"], 1107, 1260, [61, null]], [63, ["number", "300"], 1107, 1297, [61, null]], [64, "setxy", 938, 1238, [58, 65, 66, 67]], [65, ["number", "0"], 1012, 1247, [64, null]], [66, ["number", "0"], 1012, 1284, [64, null]], [67, "repeat", 938, 1314, [64, 68, 69, 82]], [68, ["number", "60"], 1024, 1323, [67, null]], [69, "hspace", 1033, 1354, [67, 70]], [70, "setcolor", 1124, 1362, [69, 287, 71]], [71, "penup", 1124, 1416, [70, 72]], [72, "forward", 1124, 1455, [71, 73, 74]], [73, ["number", "290"], 1198, 1464, [72, null]], [74, "pendown", 1124, 1494, [72, 75]], [75, "forward", 1124, 1533, [74, 76, 77]], [76, ["number", "10"], 1198, 1542, [75, null]], [77, "penup", 1124, 1572, [75, 78]], [78, "back", 1124, 1611, [77, 79, 80]], [79, ["number", "300"], 1198, 1620, [78, null]], [80, "right", 1124, 1650, [78, 81, null]], [81, ["number", "6"], 1198, 1659, [80, null]], [82, "setxy", 938, 1404, [67, 83, 84, 85]], [83, ["number", "-20"], 1012, 1413, [82, null]], [84, ["number", "0"], 1012, 1450, [82, null]], [85, "storeinbox", 938, 1480, [82, 86, 87, 88]], [86, ["string", "box"], 950, 1491, [85, null]], [87, ["number", "12"], 1068, 1491, [85, null]], [88, "repeat", 938, 1519, [85, 89, 90, 113]], [89, ["number", "12"], 1024, 1528, [88, null]], [90, "vspace", 1033, 1568, [88, 91]], [91, "penup", 1033, 1637, [90, 92]], [92, "seth", 1033, 1676, [91, 93, 99]], [93, "product2", 1107, 1661, [92, 94, 96]], [94, "box", 1147, 1664, [93, 95, null]], [95, ["string", "box"], 1165, 1669, [94, null]], [96, "division2", 1147, 1678, [93, 97, 98]], [97, ["number", "360"], 1187, 1686, [96, null]], [98, ["number", "12"], 1206, 1719, [96, null]], [99, "forward", 1033, 1715, [92, 100, 101]], [100, ["number", "250"], 1107, 1724, [99, null]], [101, "show", 1033, 1754, [99, 102, 104]], [102, "box", 1107, 1758, [101, 103, null]], [103, ["string", "box"], 1125, 1763, [102, null]], [104, "back", 1033, 1793, [101, 105, 106]], [105, ["number", "250"], 1107, 1802, [104, null]], [106, "storeinbox", 1033, 1832, [104, 107, 108, 112]], [107, ["string", "box"], 1045, 1843, [106, null]], [108, "minus2", 1163, 1819, [106, 109, 111]], [109, "box", 1203, 1822, [108, 110, null]], [110, ["string", "box"], 1221, 1827, [109, null]], [111, ["number", "1"], 1222, 1860, [108, null]], [112, "pendown", 1033, 1871, [106, null]], [113, "setxy", 938, 1609, [88, 114, 115, null]], [114, ["number", "0"], 1012, 1618, [113, null]], [115, ["number", "0"], 1012, 1655, [113, null]], [116, "hat", 261, 832, [null, 117, 118]], [117, ["string", "show minutes"], 282, 859, [116, null]], [118, "setcolor", 299, 902, [116, 119, 120]], [119, ["number", "60"], 373, 919, [118, null]], [120, "setshade", 299, 956, [118, 121, 122]], [121, ["number", "100"], 373, 973, [120, null]], [122, "seth", 299, 1010, [120, 123, 129]], [123, "product2", 373, 995, [122, 124, 126]], [124, "box", 413, 998, [123, 125, null]], [125, ["string", "old minute"], 431, 1003, [124, null]], [126, "division2", 413, 1012, [123, 127, 128]], [127, ["number", "360"], 453, 1020, [126, null]], [128, ["number", "60"], 472, 1053, [126, null]], [129, "setpensize", 299, 1049, [122, 130, 131]], [130, ["number", "5"], 373, 1066, [129, null]], [131, "forward", 299, 1103, [129, 132, 133]], [132, ["number", "200"], 373, 1112, [131, null]], [133, "setpensize", 299, 1142, [131, 134, 135]], [134, ["number", "25"], 373, 1159, [133, null]], [135, "forward", 299, 1196, [133, 136, 137]], [136, ["number", "1"], 373, 1205, [135, null]], [137, "back", 299, 1235, [135, 138, 139]], [138, ["number", "1"], 373, 1244, [137, null]], [139, "setpensize", 299, 1274, [137, 140, 141]], [140, ["number", "7"], 373, 1291, [139, null]], [141, "back", 299, 1328, [139, 142, 143]], [142, ["number", "200"], 373, 1337, [141, null]], [143, "setshade", 299, 1367, [141, 144, 145]], [144, ["number", "30"], 373, 1384, [143, null]], [145, "setcolor", 299, 1421, [143, 146, 147]], [146, ["number", "30"], 373, 1438, [145, null]], [147, "seth", 299, 1475, [145, 148, 154]], [148, "product2", 373, 1460, [147, 149, 151]], [149, "box", 413, 1463, [148, 150, null]], [150, ["string", "minutes"], 431, 1468, [149, null]], [151, "division2", 413, 1477, [148, 152, 153]], [152, ["number", "360"], 453, 1485, [151, null]], [153, ["number", "60"], 472, 1518, [151, null]], [154, "setpensize", 299, 1514, [147, 155, 156]], [155, ["number", "5"], 373, 1531, [154, null]], [156, "forward", 299, 1568, [154, 157, 158]], [157, ["number", "200"], 373, 1577, [156, null]], [158, "setpensize", 299, 1607, [156, 159, 160]], [159, ["number", "25"], 373, 1624, [158, null]], [160, "forward", 299, 1661, [158, 161, 162]], [161, ["number", "1"], 373, 1670, [160, null]], [162, "setpensize", 299, 1700, [160, 163, 164]], [163, ["number", "5"], 373, 1717, [162, null]], [164, "back", 299, 1754, [162, 165, 166]], [165, ["number", "201"], 373, 1763, [164, null]], [166, "storein", 299, 1793, [164, 167, 168, null]], [167, ["string", "old minute"], 311, 1820, [166, null]], [168, "box", 429, 1806, [166, 169, null]], [169, ["string", "minutes"], 447, 1811, [168, null]], [170, "hat", 671, 835, [null, 171, 172]], [171, ["string", "alarm"], 692, 862, [170, null]], [172, "seth", 709, 905, [170, 173, 174]], [173, ["number", "0"], 783, 914, [172, null]], [174, "setxy", 709, 944, [172, 175, 176, 177]], [175, ["number", "-360"], 783, 953, [174, null]], [176, ["number", "0"], 783, 990, [174, null]], [177, "setcolor", 709, 1020, [174, 178, 181]], [178, "random", 783, 1018, [177, 179, 180, null]], [179, ["number", "0"], 811, 1037, [178, null]], [180, ["number", "100"], 933, 1037, [178, null]], [181, "setpensize", 709, 1074, [177, 182, 183]], [182, ["number", "60"], 783, 1091, [181, null]], [183, "repeat", 709, 1128, [181, 184, 185, 194]], [184, ["number", "60"], 795, 1137, [183, null]], [185, "setshade", 804, 1177, [183, 186, 189]], [186, "division2", 878, 1170, [185, 187, 188]], [187, "heading", 918, 1178, [186, null]], [188, ["number", "6"], 937, 1211, [186, null]], [189, "arc", 804, 1231, [185, 190, 191, 192]], [190, ["number", "6"], 878, 1240, [189, null]], [191, ["number", "360"], 878, 1277, [189, null]], [192, "wait", 804, 1307, [189, 193, null]], [193, ["number", "1"], 878, 1316, [192, null]], [194, "setcolor", 709, 1218, [183, 195, 196]], [195, ["number", "60"], 783, 1235, [194, null]], [196, "setshade", 709, 1272, [194, 197, 198]], [197, ["number", "100"], 783, 1289, [196, null]], [198, "repeat", 709, 1326, [196, 199, 200, 203]], [199, ["number", "60"], 795, 1335, [198, null]], [200, "arc", 804, 1375, [198, 201, 202, null]], [201, ["number", "6"], 878, 1384, [200, null]], [202, ["number", "360"], 878, 1421, [200, null]], [203, "setxy", 709, 1416, [198, 204, 205, null]], [204, ["number", "0"], 783, 1425, [203, null]], [205, ["number", "0"], 783, 1462, [203, null]], [206, "hat", 442, 831, [null, 207, 208]], [207, ["string", "show hours"], 463, 858, [206, null]], [208, "setcolor", 480, 901, [206, 209, 210]], [209, ["number", "60"], 554, 918, [208, null]], [210, "setshade", 480, 955, [208, 211, 212]], [211, ["number", "100"], 554, 972, [210, null]], [212, "seth", 480, 1009, [210, 213, 230]], [213, "plus2", 554, 994, [212, 214, 221]], [214, "identity2", 594, 966, [213, 215]], [215, "product2", 634, 949, [214, 216, 218]], [216, "box", 674, 952, [215, 217, null]], [217, ["string", "old hour"], 692, 957, [216, null]], [218, "division2", 674, 966, [215, 219, 220]], [219, ["number", "360"], 714, 974, [218, null]], [220, ["number", "12"], 733, 1007, [218, null]], [221, "identity", 594, 1035, [213, 222]], [222, "division2", 634, 1039, [221, 223, 228]], [223, "product2", 674, 1023, [222, 224, 225]], [224, "box", 714, 1026, [223, 283, null]], [225, "division2", 714, 1040, [223, 226, 227]], [226, ["number", "360"], 754, 1048, [225, null]], [227, ["number", "60"], 773, 1081, [225, null]], [228, "identity", 693, 1080, [222, 229]], [229, ["number", "12"], 733, 1108, [228, null]], [230, "setpensize", 480, 1048, [212, 231, 232]], [231, ["number", "5"], 554, 1065, [230, null]], [232, "forward", 480, 1102, [230, 233, 234]], [233, ["number", "100"], 554, 1111, [232, null]], [234, "setpensize", 480, 1141, [232, 235, 236]], [235, ["number", "25"], 554, 1158, [234, null]], [236, "forward", 480, 1195, [234, 237, 238]], [237, ["number", "1"], 554, 1204, [236, null]], [238, "back", 480, 1234, [236, 239, 240]], [239, ["number", "1"], 554, 1243, [238, null]], [240, "setpensize", 480, 1273, [238, 241, 242]], [241, ["number", "7"], 554, 1290, [240, null]], [242, "back", 480, 1327, [240, 243, 244]], [243, ["number", "100"], 554, 1336, [242, null]], [244, "setshade", 480, 1366, [242, 245, 246]], [245, ["number", "50"], 554, 1383, [244, null]], [246, "setcolor", 480, 1420, [244, 247, 248]], [247, ["number", "70"], 554, 1437, [246, null]], [248, "seth", 480, 1474, [246, 249, 267]], [249, "plus2", 554, 1459, [248, 250, 257]], [250, "identity2", 594, 1431, [249, 251]], [251, "product2", 634, 1414, [250, 252, 254]], [252, "box", 674, 1417, [251, 253, null]], [253, ["string", "hours"], 692, 1422, [252, null]], [254, "division2", 674, 1431, [251, 255, 256]], [255, ["number", "360"], 714, 1439, [254, null]], [256, ["number", "12"], 733, 1472, [254, null]], [257, "identity", 594, 1500, [249, 258]], [258, "division2", 634, 1504, [257, 259, 265]], [259, "product2", 674, 1488, [258, 260, 262]], [260, "box", 714, 1491, [259, 261, null]], [261, ["string", "minutes"], 732, 1496, [260, null]], [262, "division2", 714, 1505, [259, 263, 264]], [263, ["number", "360"], 754, 1513, [262, null]], [264, ["number", "60"], 773, 1546, [262, null]], [265, "identity", 693, 1545, [258, 266]], [266, ["number", "12"], 733, 1573, [265, null]], [267, "setpensize", 480, 1513, [248, 268, 269]], [268, ["number", "5"], 554, 1530, [267, null]], [269, "forward", 480, 1567, [267, 270, 271]], [270, ["number", "100"], 554, 1576, [269, null]], [271, "setpensize", 480, 1606, [269, 272, 273]], [272, ["number", "25"], 554, 1623, [271, null]], [273, "forward", 480, 1660, [271, 274, 275]], [274, ["number", "1"], 554, 1669, [273, null]], [275, "setpensize", 480, 1699, [273, 276, 277]], [276, ["number", "5"], 554, 1716, [275, null]], [277, "back", 480, 1753, [275, 278, 279]], [278, ["number", "101"], 554, 1762, [277, null]], [279, "storein", 480, 1792, [277, 280, 281, null]], [280, ["string", "old hour"], 492, 1819, [279, null]], [281, "box", 610, 1805, [279, 282, null]], [282, ["string", "hours"], 628, 1810, [281, null]], [283, ["string", "old minute"], 732, 1031, [224, null]], [284, "division2", 1107, 1190, [60, 285, 286]], [285, "heading", 1147, 1198, [284, null]], [286, ["number", "3.6"], 1166, 1231, [284, null]], [287, "division2", 1198, 1355, [70, 289, 288]], [288, ["number", "3.6"], 1257, 1396, [287, null]], [289, "heading", 1238, 1363, [287, null]], [290, "start", 723, 26, [null, 291]], [291, "storein", 735, 76, [290, 292, 293, 294]], [292, ["string", "alarm hour"], 747, 103, [291, null]], [293, ["number", "10"], 865, 94, [291, null]], [294, "storein", 735, 130, [291, 295, 296, 297]], [295, ["string", "alarm minute"], 747, 157, [294, null]], [296, ["number", "30"], 865, 148, [294, null]], [297, "stack", 735, 184, [294, 298, 299]], [298, ["string", "dial"], 747, 196, [297, null]], [299, "storein", 735, 223, [297, 300, 301, 302]], [300, ["string", "old hour"], 747, 250, [299, null]], [301, ["number", "12"], 865, 241, [299, null]], [302, "storein", 735, 277, [299, 303, 304, 305]], [303, ["string", "old minute"], 747, 304, [302, null]], [304, ["number", "0"], 865, 295, [302, null]], [305, "storein", 735, 331, [302, 306, 307, 308]], [306, ["string", "old second"], 747, 358, [305, null]], [307, ["number", "0"], 865, 349, [305, null]], [308, "storein", 735, 385, [305, 309, 310, 311]], [309, ["string", "timezone"], 747, 412, [308, null]], [310, ["number", "-4"], 865, 403, [308, null]], [311, "forever", 735, 439, [308, 312, null]], [312, "storein", 816, 453, [311, 313, 314, 320]], [313, ["string", "hours"], 828, 480, [312, null]], [314, "plus2", 946, 447, [312, 315, 318]], [315, "myfunc", 986, 445, [314, 316, 317]], [316, ["string", "localtime().tm_hour"], 1010, 456, [315, null]], [317, ["number", "100"], 1128, 455, [315, null]], [318, "box", 986, 483, [314, 319, null]], [319, ["string", "timezone"], 1004, 488, [318, null]], [320, "storein", 816, 507, [312, 321, 322, 325]], [321, ["string", "minutes"], 828, 534, [320, null]], [322, "myfunc", 946, 515, [320, 323, 324]], [323, ["string", "localtime().tm_min"], 970, 526, [322, null]], [324, ["number", "100"], 1088, 525, [322, null]], [325, "storein", 816, 561, [320, 326, 327, 330]], [326, ["string", "seconds"], 828, 588, [325, null]], [327, "myfunc", 946, 569, [325, 328, 329]], [328, ["string", "localtime().tm_sec"], 970, 580, [327, null]], [329, ["number", "100"], 1088, 579, [327, null]], [330, "stack", 816, 615, [325, 331, 332]], [331, ["string", "clock"], 828, 627, [330, null]], [332, "if", 816, 654, [330, 333, 344, 346]], [333, "equal", 896, 664, [332, 334, 336, 338]], [334, "box", 928, 668, [333, 335, null]], [335, ["string", "alarm hour"], 946, 673, [334, null]], [336, "box", 1077, 668, [333, 337, null]], [337, ["string", "hours"], 1095, 673, [336, null]], [338, "and", 1188, 661, [333, 339]], [339, "equal", 1252, 664, [338, 340, 342, null]], [340, "box", 1284, 668, [339, 341, null]], [341, ["string", "alarm minute"], 1302, 673, [340, null]], [342, "box", 1433, 668, [339, 343, null]], [343, ["string", "minutes"], 1451, 673, [342, null]], [344, "stack", 911, 728, [332, 345, null]], [345, ["string", "alarm"], 923, 740, [344, null]], [346, "wait", 816, 769, [332, 347, null]], [347, ["number", "1"], 890, 778, [346, null]], [348, "hat", 972, 25, [null, 349, 350]], [349, ["string", "clock"], 993, 52, [348, null]], [350, "stack", 1010, 95, [348, 351, 352]], [351, ["string", "show seconds"], 1022, 107, [350, null]], [352, "stack", 1010, 134, [350, 353, 354]], [353, ["string", "show hours"], 1022, 146, [352, null]], [354, "stack", 1010, 173, [352, 355, null]], [355, ["string", "show minutes"], 1022, 185, [354, null]], [-1, "turtle", -3.5527136788005009e-15, 5.6843418860808015e-14, 6.0, 30.0, 30.0, 5.0]]
+[[0, "hat", 729, 622, [null, 1, 389]], [1, ["string", "show seconds"], 787, 630, [0, null]], [2, "if", 729, 748, [90, 3, 8, 9]], [3, "equal2", 767, 714, [2, 4, 6, null]], [4, "box", 813, 714, [3, 5, null]], [5, ["string", "old second"], 868, 714, [4, null]], [6, "box", 813, 756, [3, 7, null]], [7, ["string", "seconds"], 868, 756, [6, null]], [8, "stopstack", 781, 816, [2, null]], [9, "setcolor", 729, 834, [2, 10, 11]], [10, ["number", 60], 806, 834, [9, null]], [11, "setshade", 729, 876, [9, 12, 13]], [12, ["number", 100], 814, 876, [11, null]], [13, "seth", 729, 918, [11, 14, 20]], [14, "product2", 828, 918, [13, 15, 17]], [15, "box", 882, 918, [14, 16, null]], [16, ["string", "old second"], 937, 918, [15, null]], [17, "division2", 882, 960, [14, 18, 19]], [18, ["number", 360], 936, 960, [17, null]], [19, ["number", 60], 960, 1006, [17, null]], [20, "setpensize", 729, 960, [13, 21, 22]], [21, ["number", 5], 831, 960, [20, null]], [22, "forward", 729, 1002, [20, 23, 24]], [23, ["number", 225], 800, 1002, [22, null]], [24, "back", 729, 1044, [22, 25, 391]], [25, ["number", 225], 787, 1044, [24, null]], [26, "setshade", 729, 790, [392, 27, 28]], [27, ["number", 50], 814, 790, [26, null]], [28, "setcolor", 729, 832, [26, 29, 30]], [29, ["number", 0], 806, 832, [28, null]], [30, "seth", 729, 874, [28, 31, 37]], [31, "product2", 828, 874, [30, 32, 34]], [32, "box", 882, 874, [31, 33, null]], [33, ["string", "seconds"], 937, 874, [32, null]], [34, "division2", 882, 916, [31, 35, 36]], [35, ["number", 360], 936, 916, [34, null]], [36, ["number", 60], 960, 962, [34, null]], [37, "setpensize", 729, 916, [30, 38, 39]], [38, ["number", 5], 831, 916, [37, null]], [39, "forward", 729, 958, [37, 40, 41]], [40, ["number", 225], 800, 958, [39, null]], [41, "back", 729, 1000, [39, 42, 43]], [42, ["number", 225], 787, 1000, [41, null]], [43, "storein", 729, 1042, [41, 44, 45, 394]], [44, ["string", "old second"], 797, 1042, [43, null]], [45, "box", 797, 1084, [43, 46, null]], [46, ["string", "seconds"], 852, 1084, [45, null]], [47, "hat", 173, 329, [null, 48, 370]], [48, ["string", "dial"], 231, 337, [47, null]], [49, "clean", 173, 421, [370, 50]], [50, "fillscreen", 173, 455, [49, 51, 52, 53]], [51, ["number", 60], 255, 455, [50, null]], [52, ["number", 100], 255, 497, [50, null]], [53, "setpensize", 173, 539, [50, 54, 55]], [54, ["number", 10], 275, 539, [53, null]], [55, "setxy", 173, 581, [53, 56, 57, 58]], [56, ["number", -300], 231, 581, [55, null]], [57, ["number", 0], 231, 623, [55, null]], [58, "repeat", 173, 665, [55, 59, 60, 372]], [59, ["number", 12], 224, 665, [58, null]], [60, "setcolor", 238, 725, [58, 284, 61]], [61, "arc", 238, 767, [60, 62, 63, null]], [62, ["number", 30], 296, 767, [61, null]], [63, ["number", 300], 296, 809, [61, null]], [64, "setxy", 173, 497, [373, 65, 66, 67]], [65, ["number", 0], 231, 497, [64, null]], [66, ["number", 0], 231, 539, [64, null]], [67, "repeat", 173, 581, [64, 68, 70, 375]], [68, ["number", 60], 224, 581, [67, null]], [69, ["hspace", 0], 238, 801, [88, 91]], [70, "setcolor", 238, 641, [67, 287, 71]], [71, "penup", 238, 683, [70, 72]], [72, "forward", 238, 717, [71, 73, 74]], [73, ["number", 290], 309, 717, [72, null]], [74, "pendown", 238, 759, [72, 75]], [75, "forward", 238, 793, [74, 76, 77]], [76, ["number", 10], 309, 793, [75, null]], [77, "penup", 238, 835, [75, 78]], [78, "back", 238, 869, [77, 79, 80]], [79, ["number", 300], 296, 869, [78, null]], [80, "right", 238, 911, [78, 81, null]], [81, ["number", 6], 296, 911, [80, null]], [82, "setxy", 173, 573, [376, 83, 84, 85]], [83, ["number", -20], 231, 573, [82, null]], [84, ["number", 0], 231, 615, [82, null]], [85, "storein", 173, 657, [82, 86, 87, 88]], [86, ["string", "box"], 241, 657, [85, null]], [87, ["number", 12], 241, 699, [85, null]], [88, "repeat", 173, 741, [85, 89, 69, 113]], [89, ["number", 12], 224, 741, [88, null]], [90, ["vspace", 0], 729, 714, [389, 2]], [91, "penup", 294, 819, [69, 92]], [92, "seth", 294, 853, [91, 93, 99]], [93, "product2", 393, 853, [92, 94, 96]], [94, "box", 447, 853, [93, 95, null]], [95, ["string", "box"], 502, 853, [94, null]], [96, "division2", 447, 895, [93, 97, 98]], [97, ["number", 360], 501, 895, [96, null]], [98, ["number", 12], 525, 941, [96, null]], [99, "forward", 294, 895, [92, 100, 101]], [100, ["number", 250], 365, 895, [99, null]], [101, "show", 294, 937, [99, 102, 104]], [102, "box", 352, 937, [101, 103, null]], [103, ["string", "box"], 407, 937, [102, null]], [104, "back", 294, 979, [101, 105, 106]], [105, ["number", 250], 352, 979, [104, null]], [106, "storein", 294, 1021, [104, 107, 108, 112]], [107, ["string", "box"], 362, 1021, [106, null]], [108, "minus2", 362, 1063, [106, 109, 111]], [109, "box", 416, 1063, [108, 110, null]], [110, ["string", "box"], 471, 1063, [109, null]], [111, ["number", 1], 440, 1109, [108, null]], [112, "pendown", 294, 1105, [106, null]], [113, "setxy", 173, 819, [88, 114, 115, 378]], [114, ["number", 0], 231, 819, [113, null]], [115, ["number", 0], 231, 861, [113, null]], [116, "hat", 728, 402, [null, 117, 383]], [117, ["string", "show minutes"], 786, 410, [116, null]], [118, "setcolor", 728, 494, [383, 119, 120]], [119, ["number", 60], 805, 494, [118, null]], [120, "setshade", 728, 536, [118, 121, 122]], [121, ["number", 100], 813, 536, [120, null]], [122, "seth", 728, 578, [120, 123, 129]], [123, "product2", 827, 578, [122, 124, 126]], [124, "box", 881, 578, [123, 125, null]], [125, ["string", "old minute"], 936, 578, [124, null]], [126, "division2", 881, 620, [123, 127, 128]], [127, ["number", 360], 935, 620, [126, null]], [128, ["number", 60], 959, 666, [126, null]], [129, "setpensize", 728, 620, [122, 130, 131]], [130, ["number", 5], 830, 620, [129, null]], [131, "forward", 728, 662, [129, 132, 133]], [132, ["number", 200], 799, 662, [131, null]], [133, "setpensize", 728, 704, [131, 134, 135]], [134, ["number", 25], 830, 704, [133, null]], [135, "forward", 728, 746, [133, 136, 137]], [136, ["number", 1], 799, 746, [135, null]], [137, "back", 728, 788, [135, 138, 139]], [138, ["number", 1], 786, 788, [137, null]], [139, "setpensize", 728, 830, [137, 140, 141]], [140, ["number", 7], 830, 830, [139, null]], [141, "back", 728, 872, [139, 142, 385]], [142, ["number", 200], 786, 872, [141, null]], [143, "setshade", 728, 570, [386, 144, 145]], [144, ["number", 30], 813, 570, [143, null]], [145, "setcolor", 728, 612, [143, 146, 147]], [146, ["number", 30], 805, 612, [145, null]], [147, "seth", 728, 654, [145, 148, 154]], [148, "product2", 827, 654, [147, 149, 151]], [149, "box", 881, 654, [148, 150, null]], [150, ["string", "minutes"], 936, 654, [149, null]], [151, "division2", 881, 696, [148, 152, 153]], [152, ["number", 360], 935, 696, [151, null]], [153, ["number", 60], 959, 742, [151, null]], [154, "setpensize", 728, 696, [147, 155, 156]], [155, ["number", 5], 830, 696, [154, null]], [156, "forward", 728, 738, [154, 157, 158]], [157, ["number", 200], 799, 738, [156, null]], [158, "setpensize", 728, 780, [156, 159, 160]], [159, ["number", 25], 830, 780, [158, null]], [160, "forward", 728, 822, [158, 161, 162]], [161, ["number", 1], 799, 822, [160, null]], [162, "setpensize", 728, 864, [160, 163, 164]], [163, ["number", 5], 830, 864, [162, null]], [164, "back", 728, 906, [162, 165, 166]], [165, ["number", 201], 786, 906, [164, null]], [166, "storein", 728, 948, [164, 167, 168, 388]], [167, ["string", "old minute"], 796, 948, [166, null]], [168, "box", 796, 990, [166, 169, null]], [169, ["string", "minutes"], 851, 990, [168, null]], [170, "hat", 173, 175, [null, 171, 354]], [171, ["string", "alarm"], 231, 183, [170, null]], [172, "seth", 173, 267, [354, 173, 174]], [173, ["number", 0], 272, 267, [172, null]], [174, "setxy", 173, 309, [172, 175, 176, 177]], [175, ["number", -360], 231, 309, [174, null]], [176, ["number", 0], 231, 351, [174, null]], [177, "setcolor", 173, 393, [174, 178, 181]], [178, "random", 250, 393, [177, 179, 180, null]], [179, ["number", 0], 336, 393, [178, null]], [180, ["number", 100], 336, 435, [178, null]], [181, "setpensize", 173, 435, [177, 182, 183]], [182, ["number", 60], 275, 435, [181, null]], [183, "repeat", 173, 477, [181, 184, 185, 194]], [184, ["number", 60], 224, 477, [183, null]], [185, "setshade", 238, 537, [183, 186, 189]], [186, "division2", 323, 537, [185, 187, 188]], [187, "heading", 377, 537, [186, null]], [188, ["number", 6], 401, 583, [186, null]], [189, "arc", 238, 579, [185, 190, 191, 192]], [190, ["number", 6], 296, 579, [189, null]], [191, ["number", 360], 296, 621, [189, null]], [192, "wait", 238, 663, [189, 193, null]], [193, ["number", 1], 296, 663, [192, null]], [194, "setcolor", 173, 555, [183, 195, 196]], [195, ["number", 60], 250, 555, [194, null]], [196, "setshade", 173, 597, [194, 197, 198]], [197, ["number", 100], 258, 597, [196, null]], [198, "repeat", 173, 639, [196, 199, 200, 203]], [199, ["number", 60], 224, 639, [198, null]], [200, "arc", 238, 699, [198, 201, 202, null]], [201, ["number", 6], 296, 699, [200, null]], [202, ["number", 360], 296, 741, [200, null]], [203, "setxy", 173, 717, [198, 204, 205, 356]], [204, ["number", 0], 231, 717, [203, null]], [205, ["number", 0], 231, 759, [203, null]], [206, "hat", 730, 175, [null, 207, 351]], [207, ["string", "show hours"], 788, 183, [206, null]], [208, "setcolor", 730, 267, [351, 209, 210]], [209, ["number", 60], 807, 267, [208, null]], [210, "setshade", 730, 309, [208, 211, 212]], [211, ["number", 100], 815, 309, [210, null]], [212, "seth", 730, 351, [210, 213, 230]], [213, "plus2", 829, 351, [212, 214, 221]], [214, ["identity2", 0], 883, 351, [213, 215]], [215, "product2", 937, 351, [214, 216, 218]], [216, "box", 991, 351, [215, 217, null]], [217, ["string", "old hour"], 1046, 351, [216, null]], [218, "division2", 991, 393, [215, 219, 220]], [219, ["number", 360], 1045, 393, [218, null]], [220, ["number", 12], 1069, 439, [218, null]], [221, ["identity2", 0], 883, 393, [213, 222]], [222, "division2", 937, 393, [221, 223, 228]], [223, "product2", 991, 393, [222, 224, 225]], [224, "box", 1045, 393, [223, 283, null]], [225, "division2", 1045, 435, [223, 226, 227]], [226, ["number", 360], 1099, 435, [225, null]], [227, ["number", 60], 1123, 481, [225, null]], [228, ["identity2", 0], 1015, 439, [222, 229]], [229, ["number", 12], 1069, 439, [228, null]], [230, "setpensize", 730, 393, [212, 231, 232]], [231, ["number", 5], 832, 393, [230, null]], [232, "forward", 730, 435, [230, 233, 234]], [233, ["number", 100], 801, 435, [232, null]], [234, "setpensize", 730, 477, [232, 235, 236]], [235, ["number", 25], 832, 477, [234, null]], [236, "forward", 730, 519, [234, 237, 238]], [237, ["number", 1], 801, 519, [236, null]], [238, "back", 730, 561, [236, 239, 240]], [239, ["number", 1], 788, 561, [238, null]], [240, "setpensize", 730, 603, [238, 241, 242]], [241, ["number", 7], 832, 603, [240, null]], [242, "back", 730, 645, [240, 243, 379]], [243, ["number", 100], 788, 645, [242, null]], [244, "setshade", 730, 343, [380, 245, 246]], [245, ["number", 50], 815, 343, [244, null]], [246, "setcolor", 730, 385, [244, 247, 248]], [247, ["number", 70], 807, 385, [246, null]], [248, "seth", 730, 427, [246, 249, 267]], [249, "plus2", 829, 427, [248, 250, 257]], [250, ["identity2", 0], 883, 427, [249, 251]], [251, "product2", 937, 427, [250, 252, 254]], [252, "box", 991, 427, [251, 253, null]], [253, ["string", "hours"], 1046, 427, [252, null]], [254, "division2", 991, 469, [251, 255, 256]], [255, ["number", 360], 1045, 469, [254, null]], [256, ["number", 12], 1069, 515, [254, null]], [257, ["identity2", 0], 883, 469, [249, 258]], [258, "division2", 937, 469, [257, 259, 265]], [259, "product2", 991, 469, [258, 260, 262]], [260, "box", 1045, 469, [259, 261, null]], [261, ["string", "minutes"], 1100, 469, [260, null]], [262, "division2", 1045, 511, [259, 263, 264]], [263, ["number", 360], 1099, 511, [262, null]], [264, ["number", 60], 1123, 557, [262, null]], [265, ["identity2", 0], 1015, 515, [258, 266]], [266, ["number", 12], 1069, 515, [265, null]], [267, "setpensize", 730, 469, [248, 268, 269]], [268, ["number", 5], 832, 469, [267, null]], [269, "forward", 730, 511, [267, 270, 271]], [270, ["number", 100], 801, 511, [269, null]], [271, "setpensize", 730, 553, [269, 272, 273]], [272, ["number", 25], 832, 553, [271, null]], [273, "forward", 730, 595, [271, 274, 275]], [274, ["number", 1], 801, 595, [273, null]], [275, "setpensize", 730, 637, [273, 276, 277]], [276, ["number", 5], 832, 637, [275, null]], [277, "back", 730, 679, [275, 278, 279]], [278, ["number", 101], 788, 679, [277, null]], [279, "storein", 730, 721, [277, 280, 281, 382]], [280, ["string", "old hour"], 798, 721, [279, null]], [281, "box", 798, 763, [279, 282, null]], [282, ["string", "hours"], 853, 763, [281, null]], [283, ["string", "old minute"], 1100, 393, [224, null]], [284, "division2", 315, 725, [60, 285, 286]], [285, "heading", 369, 725, [284, null]], [286, ["number", 3], 393, 771, [284, null]], [287, "division2", 315, 641, [70, 289, 288]], [288, ["number", 3], 393, 687, [287, null]], [289, "heading", 369, 641, [287, null]], [290, "storein", 422, 259, [361, 291, 292, 293]], [291, ["string", "alarm hour"], 490, 259, [290, null]], [292, ["number", 10], 490, 301, [290, null]], [293, "storein", 422, 343, [290, 294, 295, 363]], [294, ["string", "alarm minute"], 490, 343, [293, null]], [295, ["number", 30], 490, 385, [293, null]], [296, "stack", 422, 411, [367, 297, 298]], [297, ["string", "dial"], 480, 411, [296, null]], [298, "storein", 422, 453, [296, 299, 300, 301]], [299, ["string", "old hour"], 490, 453, [298, null]], [300, ["number", 12], 490, 495, [298, null]], [301, "storein", 422, 537, [298, 302, 303, 304]], [302, ["string", "old minute"], 490, 537, [301, null]], [303, ["number", 0], 490, 579, [301, null]], [304, "storein", 422, 621, [301, 305, 306, 369]], [305, ["string", "old second"], 490, 621, [304, null]], [306, ["number", 0], 490, 663, [304, null]], [307, "storein", 422, 335, [364, 308, 309, 366]], [308, ["string", "timezone"], 490, 335, [307, null]], [309, ["number", "0"], 490, 377, [307, null]], [310, "forever", 422, 445, [369, 357, null]], [311, "storein", 483, 505, [357, 312, 313, 398]], [312, ["string", "hours"], 551, 505, [311, null]], [313, "plus2", 551, 547, [311, 315, 349]], [314, ["string", "localtime().tm_hour"], 685, 589, [349, null]], [315, "box", 605, 547, [313, 316, null]], [316, ["string", "timezone"], 660, 547, [315, null]], [317, "storein", 483, 623, [398, 318, 347, 397]], [318, ["string", "minutes"], 551, 623, [317, null]], [319, ["string", "localtime().tm_min"], 631, 665, [347, null]], [320, "storein", 483, 741, [397, 321, 345, 360]], [321, ["string", "seconds"], 551, 741, [320, null]], [322, ["string", "localtime().tm_sec"], 631, 783, [345, null]], [323, "if", 483, 695, [359, 342, 332, 353]], [324, "box", 613, 653, [344, 325, null]], [325, ["string", "alarm hour"], 668, 653, [324, null]], [326, "box", 613, 695, [344, 327, null]], [327, ["string", "hours"], 668, 695, [326, null]], [328, "box", 613, 571, [343, 329, null]], [329, ["string", "alarm minute"], 668, 571, [328, null]], [330, "box", 613, 613, [343, 331, null]], [331, ["string", "minutes"], 668, 613, [330, null]], [332, "stack", 535, 763, [323, 333, null]], [333, ["string", "alarm"], 593, 763, [332, null]], [334, "wait", 483, 985, [338, 335, 399]], [335, ["number", 1], 541, 985, [334, null]], [336, "stack", 483, 859, [360, 337, 340]], [337, ["string", "show seconds"], 541, 859, [336, null]], [338, "stack", 483, 943, [340, 339, 334]], [339, ["string", "show hours"], 541, 943, [338, null]], [340, "stack", 483, 901, [336, 341, 338]], [341, ["string", "show minutes"], 541, 901, [340, null]], [342, "and2", 521, 613, [323, 343, 344]], [343, "equal2", 567, 571, [342, 328, 330, null]], [344, "equal2", 567, 653, [342, 324, 326, null]], [345, "myfunc", 551, 783, [320, 322, 346, null]], [346, ["number", 100], 631, 825, [345, null]], [347, "myfunc", 551, 665, [317, 319, 348, null]], [348, ["number", 100], 631, 707, [347, null]], [349, "myfunc", 605, 589, [313, 314, 350, null]], [350, ["number", 100], 685, 631, [349, null]], [351, "sandwichtop", 712, 225, [206, 352, 208]], [352, ["string", "erase old hour hand"], 815, 225, [351, null]], [353, ["sandwichcollapsed", 1], 483, 581, [323, null]], [354, "sandwichtop", 155, 225, [170, 355, 172]], [355, ["string", "alarm art"], 258, 225, [354, null]], [356, ["sandwichcollapsed", 1], 173, 267, [203, null]], [357, "sandwichtop", 465, 463, [310, 358, 311]], [358, ["string", "run the clock"], 568, 463, [357, null]], [359, ["vspace", 40], 483, 581, [395, 323]], [360, ["vspace", 0], 483, 825, [320, 336]], [361, "sandwichtop", 404, 217, [400, 362, 290]], [362, ["string", "set the alarm"], 507, 217, [361, null]], [363, ["sandwichcollapsed", 1], 422, 259, [293, 364]], [364, "sandwichtop", 404, 293, [363, 365, 307]], [365, ["string", "set the timezone"], 507, 293, [364, null]], [366, ["sandwichcollapsed", 1], 422, 335, [307, 367]], [367, "sandwichtop", 404, 369, [366, 368, 296]], [368, ["string", "draw the dial"], 507, 369, [367, null]], [369, ["sandwichcollapsed", 1], 422, 411, [304, 310]], [370, "sandwichtop", 155, 379, [47, 371, 49]], [371, ["string", "circle"], 258, 379, [370, null]], [372, ["sandwichcollapsed", 1], 173, 421, [58, 373]], [373, "sandwichtop", 155, 455, [372, 374, 64]], [374, ["string", "minutes"], 258, 455, [373, null]], [375, ["sandwichcollapsed", 1], 173, 497, [67, 376]], [376, "sandwichtop", 155, 531, [375, 377, 82]], [377, ["string", "numbers"], 258, 531, [376, null]], [378, ["sandwichcollapsed", 1], 173, 573, [113, null]], [379, ["sandwichcollapsed", 1], 730, 267, [242, 380]], [380, "sandwichtop", 712, 301, [379, 381, 244]], [381, ["string", "draw new hour hand"], 815, 301, [380, null]], [382, ["sandwichcollapsed", 1], 730, 343, [279, null]], [383, "sandwichtop", 710, 452, [116, 384, 118]], [384, ["string", "erase old minutes hand"], 813, 452, [383, null]], [385, ["sandwichcollapsed", 1], 728, 494, [141, 386]], [386, "sandwichtop", 710, 528, [385, 387, 143]], [387, ["string", "draw new minutes hand"], 813, 528, [386, null]], [388, ["sandwichcollapsed", 1], 728, 570, [166, null]], [389, "sandwichtop", 711, 672, [0, 390, 90]], [390, ["string", "erase old seconds hand"], 814, 672, [389, null]], [391, ["sandwichcollapsed", 1], 729, 714, [24, 392]], [392, "sandwichtop", 711, 748, [391, 393, 26]], [393, ["string", "draw new seconds hand"], 814, 748, [392, null]], [394, ["sandwichcollapsed", 1], 729, 790, [43, null]], [395, "sandwichtop", 465, 539, [399, 396, 359]], [396, ["string", "check alarm"], 568, 539, [395, null]], [397, ["vspace", 0], 483, 707, [317, 320]], [398, ["vspace", 0], 483, 589, [311, 317]], [399, ["sandwichcollapsed", 1], 483, 505, [334, 395]], [400, "start", 422, 175, [null, 361]], [-1, ["turtle", 1], 0, 0, 290.5, 70.0, 50.0, 5.0]] \ No newline at end of file
diff --git a/samples/colors.ta b/samples/colors.ta
index cd98b34..7c6dd38 100644
--- a/samples/colors.ta
+++ b/samples/colors.ta
@@ -1 +1 @@
-[[0, "setpensize", 202, 114, [2, 1, 3]], [1, ["number", "15"], 276, 131, [0, null]], [2, "clean", 202, 75, [13, 0]], [3, "repeat", 202, 168, [0, 4, 5, null]], [4, ["number", 360], 288, 177, [3, null]], [5, "setcolor", 297, 217, [3, 6, 7]], [6, "heading", 371, 234, [5, null]], [7, "forward", 297, 271, [5, 8, 9]], [8, ["number", 1000], 371, 280, [7, null]], [9, "back", 297, 310, [7, 10, 11]], [10, ["number", 1000], 371, 319, [9, null]], [11, "right", 297, 349, [9, 12, null]], [12, ["number", 1], 371, 358, [11, null]], [13, "start", 190, 25, [null, 2]], [-1, "turtle", 0.0, 0.0, 0.0, 359.0, 50, 15.0]] \ No newline at end of file
+[[0, "setpensize", 175, 251, [2, 1, 3]], [1, ["number", 15], 277, 251, [0, null]], [2, "clean", 175, 217, [13, 0]], [3, "repeat", 175, 293, [0, 4, 5, null]], [4, ["number", 360], 226, 293, [3, null]], [5, "setcolor", 240, 353, [3, 6, 7]], [6, "heading", 317, 353, [5, null]], [7, "forward", 240, 395, [5, 8, 9]], [8, ["number", 1000], 311, 395, [7, null]], [9, "back", 240, 437, [7, 10, 11]], [10, ["number", 1000], 298, 437, [9, null]], [11, "right", 240, 479, [9, 12, null]], [12, ["number", 1], 298, 479, [11, null]], [13, "start", 175, 175, [null, 2]], [-1, ["turtle", 1], 0, 0, 0.0, 359.0, 50, 15.0]] \ No newline at end of file
diff --git a/samples/continents_game.ta b/samples/continents_game.ta
new file mode 100644
index 0000000..1fcdbd2
--- /dev/null
+++ b/samples/continents_game.ta
@@ -0,0 +1 @@
+[[0, "hat", 87, 311, [null, 138, 235]], [1, "storein", 87, 403, [235, 44, 56, 2]], [2, "storein", 87, 487, [1, 45, 57, 3]], [3, "storein", 87, 571, [2, 4, 53, 5]], [4, ["string", "size"], 155, 571, [3, null]], [5, "storein", 87, 655, [3, 6, 50, 7]], [6, ["string", "name"], 155, 655, [5, null]], [7, "storein", 87, 739, [5, 8, 101, 9]], [8, ["string", "picture"], 155, 739, [7, null]], [9, "stack", 87, 823, [7, 153, 237]], [10, "hat", 405, 439, [null, 157, 244]], [11, "setxy", 405, 531, [244, 12, 13, 15]], [12, ["number", 0], 463, 531, [11, null]], [13, "box", 463, 573, [11, 14, null]], [14, ["string", "box"], 518, 573, [13, null]], [15, "show", 405, 615, [11, 16, 120]], [16, "plus2", 463, 615, [15, 17, 18]], [17, ["string", "Put the turtle in "], 517, 615, [16, null]], [18, "box", 517, 657, [16, 19, null]], [19, ["string", "name"], 572, 657, [18, null]], [20, "hat", 90, 593, [null, 140, 241]], [21, "storein", 90, 685, [241, 46, 58, 22]], [22, "storein", 90, 769, [21, 47, 59, 23]], [23, "storein", 90, 853, [22, 24, 54, 25]], [24, ["string", "size"], 158, 853, [23, null]], [25, "storein", 90, 937, [23, 26, 51, 27]], [26, ["string", "name"], 158, 937, [25, null]], [27, "storein", 90, 1021, [25, 28, 102, 29]], [28, ["string", "picture"], 158, 1021, [27, null]], [29, "stack", 90, 1105, [27, 155, 243]], [30, "hat", 102, 739, [null, 141, 229]], [31, "storein", 102, 831, [229, 48, 76, 32]], [32, "storein", 102, 915, [31, 49, 77, 33]], [33, "storein", 102, 999, [32, 34, 55, 35]], [34, ["string", "size"], 170, 999, [33, null]], [35, "storein", 102, 1083, [33, 36, 52, 37]], [36, ["string", "name"], 170, 1083, [35, null]], [37, "storein", 102, 1167, [35, 38, 103, 39]], [38, ["string", "picture"], 170, 1167, [37, null]], [39, "stack", 102, 1251, [37, 156, 231]], [40, "hat", 401, 573, [null, 41, 247]], [41, ["string", "map"], 459, 581, [40, null]], [42, "setscale", 401, 665, [247, 43, 167]], [43, ["number", 100], 478, 665, [42, null]], [44, ["string", "x"], 155, 403, [1, null]], [45, ["string", "y"], 155, 487, [2, null]], [46, ["string", "x"], 158, 685, [21, null]], [47, ["string", "y"], 158, 769, [22, null]], [48, ["string", "x"], 170, 831, [31, null]], [49, ["string", "y"], 170, 915, [32, null]], [50, ["string", "Africa"], 155, 697, [5, null]], [51, ["string", "North America"], 158, 979, [25, null]], [52, ["string", "Eurasia"], 170, 1125, [35, null]], [53, ["number", 100], 155, 613, [3, null]], [54, ["number", 100], 158, 895, [23, null]], [55, ["number", 100], 170, 1041, [33, null]], [56, ["number", 50], 155, 445, [1, null]], [57, ["number", 113], 155, 529, [2, null]], [58, ["number", -293], 158, 727, [21, null]], [59, ["number", 226], 158, 811, [22, null]], [60, "hat", 85, 175, [null, 137, 238]], [61, "storein", 85, 267, [238, 62, 63, 64]], [62, ["string", "x"], 153, 267, [61, null]], [63, ["number", -176], 153, 309, [61, null]], [64, "storein", 85, 351, [61, 65, 66, 67]], [65, ["string", "y"], 153, 351, [64, null]], [66, ["number", 22], 153, 393, [64, null]], [67, "storein", 85, 435, [64, 68, 69, 70]], [68, ["string", "size"], 153, 435, [67, null]], [69, ["number", 100], 153, 477, [67, null]], [70, "storein", 85, 519, [67, 71, 72, 73]], [71, ["string", "name"], 153, 519, [70, null]], [72, ["string", "South America"], 153, 561, [70, null]], [73, "storein", 85, 603, [70, 74, 104, 75]], [74, ["string", "picture"], 153, 603, [73, null]], [75, "stack", 85, 687, [73, 152, 240]], [76, ["number", 220], 170, 873, [31, null]], [77, ["number", 260], 170, 957, [32, null]], [78, "hat", 86, 454, [null, 139, 232]], [79, "storein", 86, 546, [232, 80, 81, 82]], [80, ["string", "x"], 154, 546, [79, null]], [81, ["number", 394], 154, 588, [79, null]], [82, "storein", 86, 630, [79, 83, 84, 85]], [83, ["string", "y"], 154, 630, [82, null]], [84, ["number", -18], 154, 672, [82, null]], [85, "storein", 86, 714, [82, 86, 87, 88]], [86, ["string", "size"], 154, 714, [85, null]], [87, ["number", 100], 154, 756, [85, null]], [88, "storein", 86, 798, [85, 89, 90, 91]], [89, ["string", "name"], 154, 798, [88, null]], [90, ["string", "Australia"], 154, 840, [88, null]], [91, "storein", 86, 882, [88, 92, 228, 93]], [92, ["string", "picture"], 154, 882, [91, null]], [93, "stack", 86, 966, [91, 154, 234]], [94, "start", 408, 175, [null, 262]], [95, "stack", 408, 259, [262, 96, 97]], [96, ["string", "setup"], 466, 259, [95, null]], [97, "stack", 408, 301, [95, 98, 99]], [98, ["string", "map"], 466, 301, [97, null]], [99, "stack", 408, 343, [97, 142, 100]], [100, "stack", 408, 385, [99, 143, 144]], [101, ["journal", "./samples/images/Africa.png"], 155, 781, [7, null]], [102, ["journal", "./samples/images/North_America.png"], 158, 1063, [27, null]], [103, ["journal", "./samples/images/Eurasia.png"], 170, 1209, [37, null]], [104, ["journal", "./samples/images/South_America.png"], 153, 645, [73, null]], [105, "hat", 749, 63, [null, 106, 256]], [106, ["string", "star"], 807, 71, [105, null]], [107, "setpensize", 749, 155, [256, 108, 109]], [108, ["number", 15], 851, 155, [107, null]], [109, "setxy", 749, 197, [107, 110, 111, 112]], [110, ["number", 0], 807, 197, [109, null]], [111, ["number", 0], 807, 239, [109, null]], [112, "repeat", 749, 281, [109, 113, 260, 258]], [113, ["number", 5], 800, 281, [112, null]], [114, "setcolor", 814, 383, [260, 115, 116]], [115, "heading", 891, 383, [114, null]], [116, "forward", 814, 425, [114, 117, 118]], [117, ["number", 200], 885, 425, [116, null]], [118, "right", 814, 467, [116, 119, null]], [119, ["number", 144], 872, 467, [118, null]], [120, "setxy", 405, 657, [15, 121, 122, 123]], [121, ["number", 0], 463, 657, [120, null]], [122, ["number", 0], 463, 699, [120, null]], [123, "forever", 405, 741, [120, 124, 246]], [124, "stack", 466, 759, [123, 125, 126]], [125, ["string", "calculate distance"], 524, 759, [124, null]], [126, "if", 466, 801, [124, 127, 158, 135]], [127, "less2", 504, 767, [126, 128, 130, null]], [128, "box", 550, 767, [127, 129, null]], [129, ["string", "distance"], 605, 767, [128, null]], [130, "product2", 550, 809, [127, 131, 133]], [131, "box", 604, 809, [130, 132, null]], [132, ["string", "size"], 659, 809, [131, null]], [133, "box", 604, 851, [130, 134, null]], [134, ["string", "scale"], 659, 851, [133, null]], [135, "wait", 466, 887, [126, 136, null]], [136, ["number", 1], 524, 887, [135, null]], [137, ["string", "Q1"], 143, 183, [60, null]], [138, ["string", "Q2"], 145, 319, [0, null]], [139, ["string", "Q3"], 144, 462, [78, null]], [140, ["string", "Q4"], 148, 601, [20, null]], [141, ["string", "Q5"], 160, 747, [30, null]], [142, ["string", "Q1"], 466, 343, [99, null]], [143, ["string", "Q2"], 466, 385, [100, null]], [144, "stack", 408, 427, [100, 146, 145]], [145, "stack", 408, 469, [144, 147, 148]], [146, ["string", "Q3"], 466, 427, [144, null]], [147, ["string", "Q4"], 466, 469, [145, null]], [148, "stack", 408, 511, [145, 151, 149]], [149, "stack", 408, 553, [148, 150, 264]], [150, ["string", "star"], 466, 553, [149, null]], [151, ["string", "Q5"], 466, 511, [148, null]], [152, ["string", "go"], 143, 687, [75, null]], [153, ["string", "go"], 145, 823, [9, null]], [154, ["string", "go"], 144, 966, [93, null]], [155, ["string", "go"], 148, 1105, [29, null]], [156, ["string", "go"], 160, 1251, [39, null]], [157, ["string", "go"], 463, 447, [10, null]], [158, "setxy", 518, 869, [126, 159, 160, 161]], [159, ["number", 0], 576, 869, [158, null]], [160, ["number", 0], 576, 911, [158, null]], [161, "setscale", 518, 953, [158, 162, 163]], [162, ["number", 100], 595, 953, [161, null]], [163, "show", 518, 995, [161, 164, 166]], [164, "box", 576, 995, [163, 165, null]], [165, ["string", "picture"], 631, 995, [164, null]], [166, "stopstack", 518, 1037, [163, null]], [167, "setxy", 401, 707, [42, 168, 169, 170]], [168, ["number", 0], 459, 707, [167, null]], [169, ["number", 0], 459, 749, [167, null]], [170, "show", 401, 791, [167, 171, 249]], [171, ["journal", "./samples/images/World_Map.png"], 459, 791, [170, null]], [172, "hat", 407, 301, [null, 173, 253]], [173, ["string", "setup"], 465, 309, [172, null]], [174, "storein", 407, 393, [253, 175, 176, 179]], [175, ["string", "scale"], 475, 393, [174, null]], [176, "division2", 475, 435, [174, 177, 178]], [177, "height", 529, 435, [176, null]], [178, ["number", 900], 553, 481, [176, null]], [179, "storein", 407, 477, [174, 180, 181, 185]], [180, ["string", "box"], 475, 477, [179, null]], [181, "product2", 475, 519, [179, 182, 183]], [182, ["number", -260], 529, 519, [181, null]], [183, "box", 529, 561, [181, 184, null]], [184, ["string", "scale"], 584, 561, [183, null]], [185, "hideblocks", 407, 561, [179, 186]], [186, "clean", 407, 595, [185, 187]], [187, "settextsize", 407, 629, [186, 188, 255]], [188, "product2", 511, 629, [187, 189, 190]], [189, ["number", 24], 565, 629, [188, null]], [190, "box", 565, 671, [188, 191, null]], [191, ["string", "scale"], 620, 671, [190, null]], [192, "hat", 402, 719, [null, 193, 250]], [193, ["string", "calculate distance"], 460, 727, [192, null]], [194, "storein", 402, 811, [250, 195, 196, 203]], [195, ["string", "dx"], 470, 811, [194, null]], [196, "minus2", 470, 853, [194, 197, 202]], [197, "product2", 524, 853, [196, 198, 200]], [198, "box", 578, 853, [197, 199, null]], [199, ["string", "x"], 633, 853, [198, null]], [200, "box", 578, 895, [197, 201, null]], [201, ["string", "scale"], 633, 895, [200, null]], [202, "xcor", 548, 899, [196, null]], [203, "storein", 402, 895, [194, 204, 205, 212]], [204, ["string", "dy"], 470, 895, [203, null]], [205, "minus2", 470, 937, [203, 206, 211]], [206, "product2", 524, 937, [205, 207, 209]], [207, "box", 578, 937, [206, 208, null]], [208, ["string", "y"], 633, 937, [207, null]], [209, "box", 578, 979, [206, 210, null]], [210, ["string", "scale"], 633, 979, [209, null]], [211, "ycor", 548, 983, [205, null]], [212, "storein", 402, 979, [203, 213, 214, 252]], [213, ["string", "distance"], 470, 979, [212, null]], [214, "sqrt", 470, 1021, [212, 215]], [215, "plus2", 524, 1021, [214, 216, 222]], [216, ["identity2", 0], 578, 1021, [215, 217]], [217, "product2", 632, 1021, [216, 218, 220]], [218, "box", 686, 1021, [217, 219, null]], [219, ["string", "dx"], 741, 1021, [218, null]], [220, "box", 686, 1063, [217, 221, null]], [221, ["string", "dx"], 741, 1063, [220, null]], [222, ["identity2", 0], 578, 1063, [215, 223]], [223, "product2", 632, 1063, [222, 224, 226]], [224, "box", 686, 1063, [223, 225, null]], [225, ["string", "dy"], 741, 1063, [224, null]], [226, "box", 686, 1105, [223, 227, null]], [227, ["string", "dy"], 741, 1105, [226, null]], [228, ["journal", "./samples/images/Australia.png"], 154, 924, [91, null]], [229, "sandwichtop", 84, 789, [30, 230, 31]], [230, ["string", "Eurasia"], 187, 789, [229, null]], [231, ["sandwichcollapsed", 1], 102, 831, [39, null]], [232, "sandwichtop", 68, 504, [78, 233, 79]], [233, ["string", "Austrailia"], 171, 504, [232, null]], [234, ["sandwichcollapsed", 1], 86, 546, [93, null]], [235, "sandwichtop", 69, 361, [0, 236, 1]], [236, ["string", "Africa"], 172, 361, [235, null]], [237, ["sandwichcollapsed", 1], 87, 403, [9, null]], [238, "sandwichtop", 67, 225, [60, 239, 61]], [239, ["string", "South America"], 170, 225, [238, null]], [240, ["sandwichcollapsed", 1], 85, 267, [75, null]], [241, "sandwichtop", 72, 643, [20, 242, 21]], [242, ["string", "label"], 175, 643, [241, null]], [243, ["sandwichcollapsed", 1], 90, 685, [29, null]], [244, "sandwichtop", 387, 489, [10, 245, 11]], [245, ["string", "game loop"], 490, 489, [244, null]], [246, ["sandwichcollapsed", 1], 405, 531, [123, null]], [247, "sandwichtop", 383, 623, [40, 248, 42]], [248, ["string", "draw a map"], 486, 623, [247, null]], [249, ["sandwichcollapsed", 1], 401, 665, [170, null]], [250, "sandwichtop", 384, 769, [192, 251, 194]], [251, ["string", "distance"], 487, 769, [250, null]], [252, ["sandwichcollapsed", 1], 402, 811, [212, null]], [253, "sandwichtop", 389, 351, [172, 254, 174]], [254, ["string", "game initialization"], 492, 351, [253, null]], [255, ["sandwichcollapsed", 1], 407, 393, [187, null]], [256, "sandwichtop", 731, 113, [105, 257, 107]], [257, ["string", "reward"], 834, 113, [256, null]], [258, "showblocks", 749, 359, [112, 259]], [259, ["sandwichcollapsed", 1], 749, 155, [258, null]], [260, "wait", 814, 341, [112, 261, 114]], [261, ["number", 1], 872, 341, [260, null]], [262, "sandwichtop", 390, 217, [94, 263, 95]], [263, ["string", "Find the continents game"], 493, 217, [262, null]], [264, ["sandwichcollapsed", 1], 408, 259, [149, null]], [-1, ["turtle", 1], 0, 0, 0.0, 216.0, 50, 15.0]] \ No newline at end of file
diff --git a/samples/csquiral.ta b/samples/csquiral.ta
index bd11427..71885ac 100644
--- a/samples/csquiral.ta
+++ b/samples/csquiral.ta
@@ -1 +1 @@
-[[0, "start", 215, 24, [null, 1]], [1, "clean", 227, 74, [0, 2]], [2, "storeinbox1", 227, 113, [1, 3, 4]], [3, ["number", "1"], 301, 130, [2, null]], [4, "setpensize", 227, 167, [2, 5, 6]], [5, ["number", "20"], 301, 184, [4, null]], [6, "repeat", 227, 221, [4, 7, 8, null]], [7, ["number", "1300"], 313, 230, [6, null]], [8, "wait", 322, 270, [6, 9, 10]], [9, ["number", "0.1"], 396, 279, [8, null]], [10, "forward", 322, 309, [8, 11, 12]], [11, "box1", 396, 318, [10, null]], [12, "right", 322, 348, [10, 13, 14]], [13, ["number", "91"], 396, 357, [12, null]], [14, "setcolor", 322, 387, [12, 15, 18]], [15, "division2", 396, 380, [14, 16, 17]], [16, "xcor", 436, 388, [15, null]], [17, ["number", "6"], 455, 421, [15, null]], [18, "setshade", 322, 441, [14, 19, 20]], [19, "heading", 396, 458, [18, null]], [20, "storeinbox1", 322, 495, [18, 21, null]], [21, "plus2", 396, 488, [20, 22, 23]], [22, "box1", 436, 496, [21, null]], [23, ["number", "1"], 436, 529, [21, null]], [-1, "turtle", -324.93992977292589, 553.15991039106382, 105.0, -54.156654962154313, 105.0, 20.0]] \ No newline at end of file
+[[0, "start", 175, 189, [null, 1]], [1, "clean", 175, 231, [0, 2]], [2, "storeinbox1", 175, 265, [1, 3, 4]], [3, ["number", 1], 293, 265, [2, null]], [4, "setpensize", 175, 307, [2, 5, 6]], [5, ["number", 20], 277, 307, [4, null]], [6, "repeat", 175, 349, [4, 7, 8, null]], [7, ["number", 1300], 226, 349, [6, null]], [8, "forward", 240, 409, [6, 9, 10]], [9, "box1", 311, 409, [8, null]], [10, "right", 240, 451, [8, 11, 12]], [11, ["number", 91], 298, 451, [10, null]], [12, "setcolor", 240, 493, [10, 22, 16]], [13, "division2", 451, 493, [22, 14, 15]], [14, "xcor", 505, 493, [13, null]], [15, ["number", 6], 529, 539, [13, null]], [16, "setshade", 240, 535, [12, 17, 18]], [17, "heading", 325, 535, [16, null]], [18, "storeinbox1", 240, 577, [16, 19, null]], [19, "plus2", 358, 577, [18, 20, 21]], [20, "box1", 412, 577, [19, null]], [21, ["number", 1], 412, 619, [19, null]], [22, ["identity2", 40], 317, 493, [12, 13]], [-1, ["turtle", 1], 907, 87, 220.0, 151.33309303159845, 220.0, 20.0]] \ No newline at end of file
diff --git a/samples/curlygates.ta b/samples/curlygates.ta
index 7908cde..a04a0ed 100644
--- a/samples/curlygates.ta
+++ b/samples/curlygates.ta
@@ -1 +1 @@
-[[0, "start", 199, 22, [null, 1]], [1, "fillscreen", 211, 72, [0, 2, 3, 4]], [2, ["number", "50"], 285, 81, [1, null]], [3, ["number", "30"], 285, 118, [1, null]], [4, "repeat", 211, 148, [1, 5, 6, null]], [5, ["number", "20"], 297, 157, [4, null]], [6, "setxy", 306, 197, [4, 7, 10, 13]], [7, "random", 380, 187, [6, 8, 9, null]], [8, ["number", "-570"], 408, 206, [7, null]], [9, ["number", "570"], 530, 206, [7, null]], [10, "random", 380, 224, [6, 11, 12, null]], [11, ["number", "-440"], 408, 243, [10, null]], [12, ["number", "440"], 530, 243, [10, null]], [13, "seth", 306, 273, [6, 14, 17]], [14, "random", 380, 263, [13, 15, 16, null]], [15, ["number", "0"], 408, 282, [14, null]], [16, ["number", "360"], 530, 282, [14, null]], [17, "stack2", 306, 312, [13, null]], [18, "hat2", 666, 170, [null, 19]], [19, "setcolor", 678, 220, [18, 20, 21]], [20, ["number", "20"], 752, 237, [19, null]], [21, "setshade", 678, 274, [19, 22, 23]], [22, ["number", "60"], 752, 291, [21, null]], [23, "setpensize", 678, 328, [21, 24, 25]], [24, ["number", "20"], 752, 345, [23, null]], [25, "stack1", 678, 382, [23, 26]], [26, "setcolor", 678, 421, [25, 27, 28]], [27, ["number", "0"], 752, 438, [26, null]], [28, "setshade", 678, 475, [26, 29, 32]], [29, "random", 752, 473, [28, 30, 31, null]], [30, ["number", "60"], 780, 492, [29, null]], [31, ["number", "80"], 902, 492, [29, null]], [32, "setpensize", 678, 529, [28, 33, 34]], [33, ["number", "12"], 752, 546, [32, null]], [34, "stack1", 678, 583, [32, null]], [35, "hat1", 195, 317, [null, 36]], [36, "repeat", 207, 367, [35, 37, 38, null]], [37, ["number", "3"], 293, 376, [36, null]], [38, "storeinbox1", 302, 416, [36, 39, 40]], [39, ["number", "200"], 376, 433, [38, null]], [40, "repeat", 302, 470, [38, 41, 42, null]], [41, ["number", "20"], 388, 479, [40, null]], [42, "arc", 397, 519, [40, 43, 44, 45]], [43, ["number", "30"], 471, 528, [42, null]], [44, "box1", 471, 565, [42, null]], [45, "storeinbox1", 397, 595, [42, 46, null]], [46, "division2", 471, 588, [45, 47, 48]], [47, "box1", 511, 596, [46, null]], [48, ["number", "1.2"], 530, 629, [46, null]], [-1, "turtle", 498.00000000000017, -255.00000000000003, 322.0, 0.0, 61, 12.0]] \ No newline at end of file
+[[0, "start", 204, 175, [null, 1]], [1, "fillscreen", 204, 217, [0, 2, 3, 4]], [2, ["number", 50], 286, 217, [1, null]], [3, ["number", 30], 286, 259, [1, null]], [4, "repeat", 204, 301, [1, 5, 6, null]], [5, ["number", 20], 255, 301, [4, null]], [6, "setxy", 269, 361, [4, 46, 8, 45]], [7, "random", 541, 361, [46, 47, 48, null]], [8, "random", 327, 403, [6, 49, 50, null]], [9, "seth", 269, 479, [45, 10, 29]], [10, "random", 368, 479, [9, 11, 12, null]], [11, ["number", 0], 454, 479, [10, null]], [12, ["number", 360], 454, 521, [10, null]], [13, "stack2", 776, 347, [17, 27]], [14, "hat2", 161, 520, [null, 31]], [15, "setcolor", 776, 263, [19, 16, 17]], [16, ["number", 20], 853, 263, [15, null]], [17, "setshade", 776, 305, [15, 18, 13]], [18, ["number", 60], 861, 305, [17, null]], [19, "setpensize", 776, 221, [30, 20, 15]], [20, ["number", 20], 878, 221, [19, null]], [21, "setcolor", 776, 423, [27, 22, 23]], [22, ["number", 0], 853, 423, [21, null]], [23, "setshade", 776, 465, [21, 24, 44]], [24, "random", 861, 465, [23, 25, 26, null]], [25, ["number", 60], 947, 465, [24, null]], [26, ["number", 80], 947, 507, [24, null]], [27, "setpensize", 776, 381, [13, 28, 21]], [28, ["number", 12], 878, 381, [27, null]], [29, "stack1", 269, 521, [9, null]], [30, "hat1", 776, 179, [null, 19]], [31, "repeat", 161, 562, [14, 32, 33, null]], [32, ["number", 3], 212, 562, [31, null]], [33, "storeinbox1", 226, 622, [31, 34, 35]], [34, ["number", 200], 344, 622, [33, null]], [35, "repeat", 226, 664, [33, 36, 37, null]], [36, ["number", 20], 277, 664, [35, null]], [37, "arc", 291, 724, [35, 38, 39, 40]], [38, ["number", 30], 349, 724, [37, null]], [39, "box1", 349, 766, [37, null]], [40, "storeinbox1", 291, 808, [37, 41, null]], [41, "division2", 409, 808, [40, 42, 43]], [42, "box1", 463, 808, [41, null]], [43, ["number", "1.2"], 487, 854, [41, null]], [44, "stack2", 776, 507, [23, null]], [45, ["vspace", 0], 269, 445, [6, 9]], [46, ["identity2", 80], 327, 361, [6, 7]], [47, "leftpos", 627, 361, [7, null]], [48, "rightpos", 627, 403, [7, null]], [49, "bottompos", 413, 403, [8, null]], [50, "toppos", 413, 445, [8, null]], [-1, ["turtle", 1], -360, 472, 347.0, 0.0, 69, 12.0]] \ No newline at end of file
diff --git a/samples/dots.ta b/samples/dots.ta
index 09d6efe..2164955 100644
--- a/samples/dots.ta
+++ b/samples/dots.ta
@@ -1 +1 @@
-[[0, "clean", 227, 73, [1, 2]], [1, "start", 215, 23, [null, 0]], [2, "setcolor", 227, 112, [0, 3, 4]], [3, ["number", "0"], 301, 129, [2, null]], [4, "setpensize", 227, 166, [2, 5, 6]], [5, ["number", "20"], 301, 183, [4, null]], [6, "storeinbox1", 227, 220, [4, 7, 8]], [7, ["number", "0"], 301, 237, [6, null]], [8, "repeat", 227, 274, [6, 9, 10, null]], [9, ["number", "1000"], 313, 283, [8, null]], [10, "pendown", 322, 323, [8, 11]], [11, "forward", 322, 362, [10, 12, 13]], [12, ["number", "1"], 396, 371, [11, null]], [13, "penup", 322, 401, [11, 14]], [14, "forward", 322, 440, [13, 15, 16]], [15, "box1", 396, 449, [14, null]], [16, "right", 322, 479, [14, 17, 18]], [17, ["number", "93"], 396, 488, [16, null]], [18, "storeinbox1", 322, 518, [16, 19, 22]], [19, "plus2", 396, 511, [18, 21, 20]], [20, ["number", "1"], 436, 552, [19, null]], [21, "box1", 436, 519, [19, null]], [22, "setcolor", 322, 572, [18, 23, null]], [23, "box1", 396, 589, [22, null]], [-1, "turtle", -195.08137186354315, 661.36192458837445, 120.0, 1000.0, 50, 20.0]] \ No newline at end of file
+[[0, "clean", 263, 217, [1, 2]], [1, "start", 263, 175, [null, 0]], [2, "setcolor", 263, 251, [0, 3, 4]], [3, ["number", 0], 340, 251, [2, null]], [4, "setpensize", 263, 293, [2, 5, 6]], [5, ["number", 20], 365, 293, [4, null]], [6, "storeinbox1", 263, 335, [4, 7, 8]], [7, ["number", 0], 381, 335, [6, null]], [8, "repeat", 263, 377, [6, 9, 10, null]], [9, ["number", 1000], 314, 377, [8, null]], [10, "pendown", 328, 437, [8, 11]], [11, "forward", 328, 471, [10, 12, 13]], [12, ["number", 1], 399, 471, [11, null]], [13, "penup", 328, 513, [11, 14]], [14, "forward", 328, 547, [13, 15, 16]], [15, "box1", 399, 547, [14, null]], [16, "right", 328, 589, [14, 17, 18]], [17, ["number", 93], 386, 589, [16, null]], [18, "storeinbox1", 328, 631, [16, 19, 24]], [19, "plus2", 446, 631, [18, 21, 20]], [20, ["number", 1], 500, 673, [19, null]], [21, "box1", 500, 631, [19, null]], [22, "setcolor", 328, 707, [24, 23, null]], [23, "box1", 405, 707, [22, null]], [24, ["vspace", 0], 328, 673, [18, 22]], [-1, ["turtle", 1], -195, 661, 120.0, 1000.0, 50, 20.0]] \ No newline at end of file
diff --git a/samples/find_boston.ta b/samples/find_boston.ta
index 296a0c4..5817930 100644
--- a/samples/find_boston.ta
+++ b/samples/find_boston.ta
@@ -1 +1 @@
-[[0, "hat", 183, 16, [null, 1, 2]], [1, ["string", "Q1"], 204, 43, [0, null]], [2, "storein", 221, 86, [0, 3, 330, 4]], [3, ["string", "x"], 233, 113, [2, null]], [4, "storein", 221, 140, [2, 5, 17, 6]], [5, ["string", "y"], 233, 167, [4, null]], [6, "storein", 221, 194, [4, 7, 16, 8]], [7, ["string", "size"], 233, 221, [6, null]], [8, "storein", 221, 248, [6, 9, 10, 11]], [9, ["string", "name"], 233, 275, [8, null]], [10, ["string", "North America"], 351, 267, [8, null]], [11, "storein", 221, 302, [8, 12, 13, 14]], [12, ["string", "picture"], 233, 329, [11, null]], [13, ["journal", "3562805e-5ff2-4b18-a6df-6c9057e266d5"], 351, 305, [11, null]], [14, "stack", 221, 356, [11, 15, null]], [15, ["string", "go"], 233, 368, [14, null]], [16, ["number", "180"], 351, 212, [6, null]], [17, ["number", "200"], 351, 158, [4, null]], [18, "hat", 654, 10, [null, 19, 20]], [19, ["string", "Q3"], 675, 37, [18, null]], [20, "storein", 692, 80, [18, 21, 22, 23]], [21, ["string", "x"], 704, 107, [20, null]], [22, ["number", "481"], 822, 98, [20, null]], [23, "storein", 692, 134, [20, 24, 25, 26]], [24, ["string", "y"], 704, 161, [23, null]], [25, ["number", "279"], 822, 152, [23, null]], [26, "storein", 692, 188, [23, 27, 28, 29]], [27, ["string", "size"], 704, 215, [26, null]], [28, ["number", "100"], 822, 206, [26, null]], [29, "storein", 692, 242, [26, 30, 31, 32]], [30, ["string", "name"], 704, 269, [29, null]], [31, ["string", "New England"], 822, 261, [29, null]], [32, "storein", 692, 296, [29, 33, 34, 35]], [33, ["string", "picture"], 704, 323, [32, null]], [34, ["journal", "25949567-1329-4488-b2ba-e5a589e7800c"], 822, 299, [32, null]], [35, "stack", 692, 350, [32, 36, null]], [36, ["string", "go"], 704, 362, [35, null]], [37, "hat", 192, 449, [null, 38, 39]], [38, ["string", "Q4"], 213, 476, [37, null]], [39, "storein", 230, 519, [37, 40, 41, 42]], [40, ["string", "x"], 242, 546, [39, null]], [41, ["number", "-456"], 360, 537, [39, null]], [42, "storein", 230, 573, [39, 43, 44, 45]], [43, ["string", "y"], 242, 600, [42, null]], [44, ["number", "-175"], 360, 591, [42, null]], [45, "storein", 230, 627, [42, 46, 47, 48]], [46, ["string", "size"], 242, 654, [45, null]], [47, ["number", "100"], 360, 645, [45, null]], [48, "storein", 230, 681, [45, 49, 50, 51]], [49, ["string", "name"], 242, 708, [48, null]], [50, ["string", "Massachusetts"], 360, 700, [48, null]], [51, "storein", 230, 735, [48, 52, 53, 54]], [52, ["string", "picture"], 242, 762, [51, null]], [53, ["journal", "c27445ad-fc18-4f5b-afb2-7307075f7ea7"], 360, 738, [51, null]], [54, "stack", 230, 789, [51, 55, null]], [55, ["string", "go"], 242, 801, [54, null]], [56, "hat", 16, 807, [null, 57, 58]], [57, ["string", "calculate distance"], 37, 834, [56, null]], [58, "storein", 54, 877, [56, 59, 60, 67]], [59, ["string", "dx"], 66, 904, [58, null]], [60, "minus2", 184, 871, [58, 61, 66]], [61, "product2", 224, 855, [60, 62, 64]], [62, "box", 264, 858, [61, 63, null]], [63, ["string", "x"], 282, 863, [62, null]], [64, "box", 264, 891, [61, 65, null]], [65, ["string", "scale"], 282, 896, [64, null]], [66, "xcor", 243, 912, [60, null]], [67, "storein", 54, 931, [58, 68, 69, 76]], [68, ["string", "dy"], 66, 958, [67, null]], [69, "minus2", 184, 925, [67, 70, 75]], [70, "product2", 224, 909, [69, 71, 73]], [71, "box", 264, 912, [70, 72, null]], [72, ["string", "y"], 282, 917, [71, null]], [73, "box", 264, 945, [70, 74, null]], [74, ["string", "scale"], 282, 950, [73, null]], [75, "ycor", 243, 966, [69, null]], [76, "storein", 54, 985, [67, 77, 78, null]], [77, ["string", "distance"], 66, 1012, [76, null]], [78, "sqrt", 184, 995, [76, 79]], [79, "plus2", 226, 979, [78, 80, 86]], [80, "identity2", 266, 951, [79, 81]], [81, "product2", 306, 934, [80, 82, 84]], [82, "box", 346, 937, [81, 83, null]], [83, ["string", "dx"], 364, 942, [82, null]], [84, "box", 346, 970, [81, 85, null]], [85, ["string", "dx"], 364, 975, [84, null]], [86, "identity", 266, 1020, [79, 87]], [87, "product2", 306, 1024, [86, 88, 90]], [88, "box", 346, 1027, [87, 89, null]], [89, ["string", "dy"], 364, 1032, [88, null]], [90, "box", 346, 1060, [87, 91, null]], [91, ["string", "dy"], 364, 1065, [90, null]], [92, "hat", 459, 443, [null, 93, 94]], [93, ["string", "Q5"], 480, 470, [92, null]], [94, "storein", 497, 513, [92, 95, 96, 97]], [95, ["string", "x"], 509, 540, [94, null]], [96, ["number", "210"], 627, 531, [94, null]], [97, "storein", 497, 567, [94, 98, 99, 100]], [98, ["string", "y"], 509, 594, [97, null]], [99, ["number", "200"], 627, 585, [97, null]], [100, "storein", 497, 621, [97, 101, 102, 103]], [101, ["string", "size"], 509, 648, [100, null]], [102, ["number", "50"], 627, 639, [100, null]], [103, "storein", 497, 675, [100, 104, 105, 106]], [104, ["string", "name"], 509, 702, [103, null]], [105, ["string", "Boston"], 627, 694, [103, null]], [106, "storein", 497, 729, [103, 107, 108, 109]], [107, ["string", "picture"], 509, 756, [106, null]], [108, ["journal", "555170a9-688c-46ff-9071-c392c71c5eb8"], 627, 732, [106, null]], [109, "stack", 497, 783, [106, 110, null]], [110, ["string", "go"], 509, 795, [109, null]], [111, "hat", 716, 437, [null, 112, 113]], [112, ["string", "map"], 737, 464, [111, null]], [113, "setscale", 754, 507, [111, 114, 115]], [114, ["number", "100"], 828, 516, [113, null]], [115, "setxy", 754, 546, [113, 116, 117, 118]], [116, ["number", "0"], 828, 555, [115, null]], [117, ["number", "0"], 828, 592, [115, null]], [118, "show", 754, 622, [115, 119, null]], [119, ["journal", "3261f780-e492-4034-a773-f400542d02ca"], 828, 616, [118, null]], [120, "hat", 487, 873, [null, 121, 122]], [121, ["string", "setup"], 508, 900, [120, null]], [122, "storein", 525, 943, [120, 123, 124, 127]], [123, ["string", "scale"], 537, 970, [122, null]], [124, "division2", 655, 937, [122, 125, 126]], [125, "vres", 695, 945, [124, null]], [126, ["number", "900"], 714, 978, [124, null]], [127, "storein", 525, 997, [122, 128, 129, 148]], [128, ["string", "box"], 537, 1024, [127, null]], [129, "product2", 655, 991, [127, 130, 131]], [130, ["number", "-260"], 695, 999, [129, null]], [131, "box", 695, 1027, [129, 132, null]], [132, ["string", "scale"], 713, 1032, [131, null]], [133, "hat", 792, 860, [null, 134, 135]], [134, ["string", "star"], 813, 887, [133, null]], [135, "setpensize", 830, 930, [133, 136, 137]], [136, ["number", "15"], 904, 947, [135, null]], [137, "setxy", 830, 984, [135, 138, 139, 140]], [138, ["number", "0"], 904, 993, [137, null]], [139, ["number", "0"], 904, 1030, [137, null]], [140, "repeat", 830, 1060, [137, 141, 142, null]], [141, ["number", "5"], 916, 1069, [140, null]], [142, "setcolor", 925, 1109, [140, 143, 144]], [143, "heading", 999, 1126, [142, null]], [144, "forward", 925, 1163, [142, 145, 146]], [145, ["number", "200"], 999, 1172, [144, null]], [146, "right", 925, 1202, [144, 147, null]], [147, ["number", "144"], 999, 1211, [146, null]], [148, "clean", 525, 1051, [127, null]], [149, "hat", 445, 12, [null, 150, 151]], [150, ["string", "Q2"], 466, 39, [149, null]], [151, "storein", 483, 82, [149, 152, 153, 154]], [152, ["string", "x"], 495, 109, [151, null]], [153, ["number", "-200"], 613, 100, [151, null]], [154, "storein", 483, 136, [151, 167, 155, 156]], [155, ["number", "-220"], 613, 154, [154, null]], [156, "storein", 483, 190, [154, 157, 158, 159]], [157, ["string", "size"], 495, 217, [156, null]], [158, ["number", "200"], 613, 208, [156, null]], [159, "storein", 483, 244, [156, 160, 161, 162]], [160, ["string", "name"], 495, 271, [159, null]], [161, ["string", "USA"], 613, 263, [159, null]], [162, "storein", 483, 298, [159, 163, 164, 165]], [163, ["string", "picture"], 495, 325, [162, null]], [164, ["journal", "881d35a4-546d-4309-af21-5c93b4b276b5"], 613, 301, [162, null]], [165, "stack", 483, 352, [162, 166, null]], [166, ["string", "go"], 495, 364, [165, null]], [167, ["string", "y"], 495, 163, [154, null]], [168, "hat", 1328, 8, [null, 169, 170]], [169, ["string", "xaxis"], 1349, 35, [168, null]], [170, "settextsize", 1366, 78, [168, 171, 172]], [171, ["number", "16"], 1440, 95, [170, null]], [172, "setxy", 1366, 132, [170, 173, 174, 175]], [173, "leftpos", 1440, 141, [172, null]], [174, ["number", "0"], 1440, 178, [172, null]], [175, "repeat", 1366, 208, [172, 176, 179, null]], [176, "division2", 1452, 193, [175, 177, 178]], [177, "hres", 1492, 201, [176, null]], [178, ["number", "100"], 1511, 234, [176, null]], [179, "seth", 1461, 257, [175, 180, 181]], [180, ["number", "0"], 1535, 266, [179, null]], [181, "forward", 1461, 296, [179, 182, 183]], [182, ["number", "10"], 1535, 305, [181, null]], [183, "penup", 1461, 335, [181, 184]], [184, "forward", 1461, 374, [183, 185, 186]], [185, ["number", "5"], 1535, 383, [184, null]], [186, "show", 1461, 413, [184, 187, 188]], [187, "xcor", 1535, 422, [186, null]], [188, "back", 1461, 452, [186, 189, 190]], [189, ["number", "5"], 1535, 461, [188, null]], [190, "pendown", 1461, 491, [188, 191]], [191, "back", 1461, 530, [190, 192, 193]], [192, ["number", "10"], 1535, 539, [191, null]], [193, "seth", 1461, 569, [191, 194, 195]], [194, ["number", "90"], 1535, 578, [193, null]], [195, "forward", 1461, 608, [193, 196, null]], [196, ["number", "100"], 1535, 617, [195, null]], [197, "hat", 1373, 672, [null, 198, 199]], [198, ["string", "yaxis"], 1394, 699, [197, null]], [199, "settextsize", 1411, 742, [197, 200, 201]], [200, ["number", "16"], 1485, 759, [199, null]], [201, "setxy", 1411, 796, [199, 202, 203, 204]], [202, ["number", "0"], 1485, 805, [201, null]], [203, "bottompos", 1485, 842, [201, null]], [204, "repeat", 1411, 872, [201, 205, 208, null]], [205, "division2", 1497, 857, [204, 206, 207]], [206, "vres", 1537, 865, [205, null]], [207, ["number", "100"], 1556, 898, [205, null]], [208, "seth", 1506, 921, [204, 209, 210]], [209, ["number", "90"], 1580, 930, [208, null]], [210, "forward", 1506, 960, [208, 211, 212]], [211, ["number", "10"], 1580, 969, [210, null]], [212, "penup", 1506, 999, [210, 213]], [213, "forward", 1506, 1038, [212, 214, 215]], [214, ["number", "5"], 1580, 1047, [213, null]], [215, "show", 1506, 1077, [213, 216, 217]], [216, "ycor", 1580, 1086, [215, null]], [217, "back", 1506, 1116, [215, 218, 219]], [218, ["number", "5"], 1580, 1125, [217, null]], [219, "pendown", 1506, 1155, [217, 220]], [220, "back", 1506, 1194, [219, 221, 222]], [221, ["number", "10"], 1580, 1203, [220, null]], [222, "seth", 1506, 1233, [220, 223, 224]], [223, ["number", "0"], 1580, 1242, [222, null]], [224, "forward", 1506, 1272, [222, 225, null]], [225, ["number", "100"], 1580, 1281, [224, null]], [226, "hat", 925, 445, [null, 227, 228]], [227, ["string", "go"], 946, 472, [226, null]], [228, "if", 963, 515, [226, 229, 233, 244]], [229, "greater", 1043, 525, [228, 230, 232, null]], [230, "box", 1075, 529, [229, 231, null]], [231, ["string", "test"], 1093, 534, [230, null]], [232, ["number", "0"], 1224, 534, [229, null]], [233, "setxy", 1058, 589, [228, 234, 237, 239]], [234, "minus2", 1132, 574, [233, 235, 309]], [235, "box", 1172, 577, [234, 236, null]], [236, ["string", "x"], 1190, 582, [235, null]], [237, "box", 1132, 630, [233, 238, null]], [238, ["string", "y"], 1150, 635, [237, null]], [239, "arc", 1058, 665, [233, 240, 241, 243]], [240, ["number", "360"], 1132, 674, [239, null]], [241, "box", 1132, 706, [239, 242, null]], [242, ["string", "size"], 1150, 711, [241, null]], [243, "hspace", 1058, 732, [239, 311]], [244, "vspace", 963, 630, [228, 245]], [245, "vspace", 963, 699, [244, 246]], [246, "setxy", 963, 768, [245, 247, 248, 250]], [247, ["number", "0"], 1037, 777, [246, null]], [248, "box", 1037, 809, [246, 249, null]], [249, ["string", "box"], 1055, 814, [248, null]], [250, "settextsize", 963, 844, [246, 251, 255]], [251, "product2", 1037, 837, [250, 252, 253]], [252, ["number", "24"], 1077, 845, [251, null]], [253, "box", 1077, 873, [251, 254, null]], [254, ["string", "scale"], 1095, 878, [253, null]], [255, "show", 963, 898, [250, 256, 260]], [256, "plus2", 1037, 883, [255, 257, 258]], [257, ["string", "Put the turtle in "], 1077, 892, [256, null]], [258, "box", 1077, 919, [256, 259, null]], [259, ["string", "name"], 1095, 924, [258, null]], [260, "setxy", 963, 937, [255, 261, 262, 263]], [261, ["number", "0"], 1037, 946, [260, null]], [262, ["number", "0"], 1037, 983, [260, null]], [263, "forever", 963, 1013, [260, 264, null]], [264, "stack", 1044, 1027, [263, 265, 266]], [265, ["string", "calculate distance"], 1056, 1039, [264, null]], [266, "if", 1044, 1066, [264, 267, 275, 285]], [267, "less", 1124, 1076, [266, 268, 270, null]], [268, "box", 1156, 1080, [267, 269, null]], [269, ["string", "distance"], 1174, 1085, [268, null]], [270, "product2", 1305, 1061, [267, 271, 273]], [271, "box", 1345, 1064, [270, 272, null]], [272, ["string", "size"], 1363, 1069, [271, null]], [273, "box", 1345, 1097, [270, 274, null]], [274, ["string", "scale"], 1363, 1102, [273, null]], [275, "clean", 1139, 1140, [266, 276]], [276, "setxy", 1139, 1179, [275, 277, 278, 279]], [277, ["number", "0"], 1213, 1188, [276, null]], [278, ["number", "0"], 1213, 1225, [276, null]], [279, "setscale", 1139, 1255, [276, 280, 281]], [280, ["number", "100"], 1213, 1264, [279, null]], [281, "show", 1139, 1294, [279, 282, 284]], [282, "box", 1213, 1298, [281, 283, null]], [283, ["string", "picture"], 1231, 1303, [282, null]], [284, "stopstack", 1139, 1333, [281, null]], [285, "wait", 1044, 1181, [266, 286, null]], [286, ["number", "1"], 1118, 1190, [285, null]], [287, "start", 1030, 7, [null, 288]], [288, "storein", 1042, 57, [287, 289, 290, 291]], [289, ["string", "test"], 1054, 84, [288, null]], [290, ["number", "1"], 1172, 75, [288, null]], [291, "stack", 1042, 111, [288, 292, 293]], [292, ["string", "setup"], 1054, 123, [291, null]], [293, "stack", 1042, 150, [291, 294, 295]], [294, ["string", "map"], 1054, 162, [293, null]], [295, "stack", 1042, 189, [293, 296, 297]], [296, ["string", "Q1"], 1054, 201, [295, null]], [297, "stack", 1042, 228, [295, 298, 299]], [298, ["string", "Q2"], 1054, 240, [297, null]], [299, "stack", 1042, 267, [297, 300, 301]], [300, ["string", "Q3"], 1054, 279, [299, null]], [301, "stack", 1042, 306, [299, 302, 303]], [302, ["string", "Q4"], 1054, 318, [301, null]], [303, "stack", 1042, 345, [301, 304, 305]], [304, ["string", "Q5"], 1054, 357, [303, null]], [305, "stack", 1042, 384, [303, 306, null]], [306, ["string", "star"], 1054, 396, [305, null]], [307, "division2", 1291, 420, [null, null, 308]], [308, ["number", "2"], 1350, 461, [307, null]], [309, "box", 1191, 610, [234, 310, null]], [310, ["string", "size"], 1209, 615, [309, null]], [311, "storein", 1149, 740, [243, 312, 315, 319]], [312, ["string", "box"], 1161, 767, [311, null]], [313, "division2", 1654, 756, [null, null, 314]], [314, ["number", "2"], 1713, 797, [313, null]], [315, "plus2", 1279, 734, [311, 316, 317]], [316, "xcor", 1319, 742, [315, null]], [317, "box", 1319, 770, [315, 318, null]], [318, ["string", "size"], 1337, 775, [317, null]], [319, "print", 1149, 794, [311, 320, 326]], [320, "plus2", 1223, 779, [319, 321, 323]], [321, "box", 1263, 782, [320, 322, null]], [322, ["string", "box"], 1281, 787, [321, null]], [323, "plus2", 1263, 796, [320, 324, 325]], [324, ["string", ", "], 1303, 805, [323, null]], [325, "ycor", 1303, 837, [323, null]], [326, "stack", 1149, 833, [319, 327, 328]], [327, ["string", "xaxis"], 1161, 845, [326, null]], [328, "stack", 1149, 872, [326, 329, null]], [329, ["string", "yaxis"], 1161, 884, [328, null]], [330, ["number", "-200"], 351, 104, [2, null]], [-1, "turtle", 0.0, 0.0, 0.0, 0, 50, 5]] \ No newline at end of file
+[[0, ["string", "North America"], 245, 597, [263, null]], [1, ["journal", "./samples/images/North_America.jpg"], 245, 681, [265, null]], [2, ["number", 180], 433, 513, [260, null]], [3, ["number", 200], 433, 429, [254, null]], [4, "hat", 171, 477, [null, 5, 238]], [5, ["string", "Q3"], 229, 485, [4, null]], [6, "storein", 171, 569, [238, 7, 229, 9]], [7, ["string", "x"], 239, 569, [6, null]], [8, ["number", 481], 427, 611, [226, null]], [9, "storein", 171, 653, [6, 10, 231, 12]], [10, ["string", "y"], 239, 653, [9, null]], [11, ["number", 279], 427, 695, [230, null]], [12, "storein", 171, 737, [9, 13, 237, 15]], [13, ["string", "size"], 239, 737, [12, null]], [14, ["number", 100], 427, 779, [236, null]], [15, "storein", 171, 821, [12, 16, 17, 18]], [16, ["string", "name"], 239, 821, [15, null]], [17, ["string", "New England"], 239, 863, [15, null]], [18, "storein", 171, 905, [15, 19, 20, 21]], [19, ["string", "picture"], 239, 905, [18, null]], [20, ["journal", "./samples/images/New-England.png"], 239, 947, [18, null]], [21, "stack", 171, 989, [18, 22, 240]], [22, ["string", "go"], 229, 989, [21, null]], [23, ["number", -420], 426, 751, [335, null]], [24, ["number", -250], 426, 835, [341, null]], [25, ["number", 100], 426, 919, [347, null]], [26, ["string", "Massachusetts"], 238, 1003, [350, null]], [27, ["journal", "./samples/images/Massachuetts.png"], 238, 1087, [352, null]], [28, "hat", 445, 629, [null, 29, 206]], [29, ["string", "calculate distance"], 503, 637, [28, null]], [30, "storein", 445, 721, [206, 31, 32, 39]], [31, ["string", "dx"], 513, 721, [30, null]], [32, "minus2", 513, 763, [30, 33, 38]], [33, "product2", 567, 763, [32, 34, 36]], [34, "box", 621, 763, [33, 35, null]], [35, ["string", "x"], 676, 763, [34, null]], [36, "box", 621, 805, [33, 37, null]], [37, ["string", "scalex"], 676, 805, [36, null]], [38, "xcor", 591, 809, [32, null]], [39, "storein", 445, 805, [30, 40, 41, 48]], [40, ["string", "dy"], 513, 805, [39, null]], [41, "minus2", 513, 847, [39, 42, 47]], [42, "product2", 567, 847, [41, 43, 45]], [43, "box", 621, 847, [42, 44, null]], [44, ["string", "y"], 676, 847, [43, null]], [45, "box", 621, 889, [42, 46, null]], [46, ["string", "scaley"], 676, 889, [45, null]], [47, "ycor", 591, 893, [41, null]], [48, "storein", 445, 889, [39, 49, 50, 208]], [49, ["string", "distance"], 513, 889, [48, null]], [50, "sqrt", 513, 931, [48, 51]], [51, "plus2", 567, 931, [50, 52, 58]], [52, ["identity2", 0], 621, 931, [51, 53]], [53, "product2", 675, 931, [52, 54, 56]], [54, "box", 729, 931, [53, 55, null]], [55, ["string", "dx"], 784, 931, [54, null]], [56, "box", 729, 973, [53, 57, null]], [57, ["string", "dx"], 784, 973, [56, null]], [58, ["identity2", 0], 621, 973, [51, 59]], [59, "product2", 675, 973, [58, 60, 62]], [60, "box", 729, 973, [59, 61, null]], [61, ["string", "dy"], 784, 973, [60, null]], [62, "box", 729, 1015, [59, 63, null]], [63, ["string", "dy"], 784, 1015, [62, null]], [64, ["number", 210], 421, 891, [306, null]], [65, ["number", 200], 421, 975, [312, null]], [66, ["number", 50], 421, 1059, [318, null]], [67, ["string", "Boston"], 233, 1143, [321, null]], [68, ["journal", "./samples/images/Boston.png"], 233, 1227, [323, null]], [69, "hat", 481, 486, [null, 70, 209]], [70, ["string", "map"], 539, 494, [69, null]], [71, "setscale", 481, 578, [209, 72, 73]], [72, ["number", 100], 558, 578, [71, null]], [73, "setxy", 481, 620, [71, 74, 75, 76]], [74, ["number", 0], 539, 620, [73, null]], [75, ["number", 0], 539, 662, [73, null]], [76, "show", 481, 704, [73, 77, 211]], [77, ["journal", "./samples/images/earth.png"], 539, 704, [76, null]], [78, "hat", 475, 761, [null, 79, 360]], [79, ["string", "setup"], 533, 769, [78, null]], [80, "storein", 475, 853, [360, 81, 82, 372]], [81, ["string", "scalex"], 543, 853, [80, null]], [82, "division2", 543, 895, [80, 371, 83]], [83, ["number", 1200], 621, 941, [82, null]], [84, "storein", 475, 1089, [377, 85, 86, 370]], [85, ["string", "box"], 543, 1089, [84, null]], [86, "product2", 543, 1131, [84, 87, 88]], [87, ["number", -260], 597, 1131, [86, null]], [88, "box", 597, 1173, [86, 89, null]], [89, ["string", "scalex"], 652, 1173, [88, null]], [90, "hat", 833, 547, [null, 91, 212]], [91, ["string", "star"], 891, 555, [90, null]], [92, "setpensize", 833, 723, [214, 93, 94]], [93, ["number", 15], 935, 723, [92, null]], [94, "setxy", 833, 765, [92, 95, 96, 97]], [95, ["number", 0], 891, 765, [94, null]], [96, ["number", 0], 891, 807, [94, null]], [97, "repeat", 833, 849, [94, 98, 99, 217]], [98, ["number", 5], 884, 849, [97, null]], [99, "setcolor", 898, 909, [97, 100, 101]], [100, "heading", 975, 909, [99, null]], [101, "forward", 898, 951, [99, 102, 103]], [102, ["number", 200], 969, 951, [101, null]], [103, "right", 898, 993, [101, 104, null]], [104, ["number", 144], 956, 993, [103, null]], [105, "clean", 475, 1207, [370, 364]], [106, ["number", -200], 433, 476, [277, null]], [107, ["number", -220], 433, 560, [283, null]], [108, ["number", 200], 433, 644, [289, null]], [109, ["string", "USA"], 245, 728, [292, null]], [110, ["journal", "./samples/images/United_States.png"], 245, 812, [294, null]], [111, "hat", 480, 341, [null, 112, 218]], [112, ["string", "go"], 538, 349, [111, null]], [113, "if", 480, 467, [220, 114, 118, 128]], [114, "greater2", 518, 433, [113, 115, 117, null]], [115, "box", 564, 433, [114, 116, null]], [116, ["string", "test"], 619, 433, [115, null]], [117, ["number", 0], 564, 475, [114, null]], [118, "setxy", 532, 535, [113, 225, 122, 124]], [119, "minus2", 764, 535, [225, 120, 190]], [120, "box", 818, 535, [119, 121, null]], [121, ["string", "x"], 873, 535, [120, null]], [122, "box", 590, 577, [118, 123, null]], [123, ["string", "y"], 645, 577, [122, null]], [124, "arc", 532, 619, [118, 125, 126, 127]], [125, ["number", 360], 590, 619, [124, null]], [126, "box", 590, 661, [124, 363, null]], [127, ["hspace", 80], 532, 703, [124, 192]], [128, ["vspace", 80], 480, 553, [113, 129]], [129, "setxy", 480, 747, [128, 130, 131, 133]], [130, ["number", 0], 538, 747, [129, null]], [131, "box", 538, 789, [129, 132, null]], [132, ["string", "box"], 593, 789, [131, null]], [133, "settextsize", 480, 831, [129, 134, 138]], [134, "product2", 584, 831, [133, 135, 136]], [135, ["number", 24], 638, 831, [134, null]], [136, "box", 638, 873, [134, 137, null]], [137, ["string", "scalex"], 693, 873, [136, null]], [138, "show", 480, 873, [133, 139, 222]], [139, "plus2", 538, 873, [138, 140, 141]], [140, ["string", "Put the turtle in "], 592, 873, [139, null]], [141, "box", 592, 915, [139, 142, null]], [142, ["string", "name"], 647, 915, [141, null]], [143, "setxy", 480, 949, [222, 144, 145, 146]], [144, ["number", 0], 538, 949, [143, null]], [145, ["number", 0], 538, 991, [143, null]], [146, "forever", 480, 1033, [143, 147, 224]], [147, "stack", 541, 1051, [146, 148, 221]], [148, ["string", "calculate distance"], 599, 1051, [147, null]], [149, "if", 541, 1127, [221, 150, 158, 168]], [150, "less2", 579, 1093, [149, 151, 153, null]], [151, "box", 625, 1093, [150, 152, null]], [152, ["string", "distance"], 680, 1093, [151, null]], [153, "product2", 625, 1135, [150, 154, 156]], [154, "box", 679, 1135, [153, 155, null]], [155, ["string", "size"], 734, 1135, [154, null]], [156, "box", 679, 1177, [153, 157, null]], [157, ["string", "scalex"], 734, 1177, [156, null]], [158, "clean", 593, 1195, [149, 159]], [159, "setxy", 593, 1229, [158, 160, 161, 162]], [160, ["number", 0], 651, 1229, [159, null]], [161, ["number", 0], 651, 1271, [159, null]], [162, "setscale", 593, 1313, [159, 163, 164]], [163, ["number", 100], 670, 1313, [162, null]], [164, "show", 593, 1355, [162, 165, 167]], [165, "box", 651, 1355, [164, 166, null]], [166, ["string", "picture"], 706, 1355, [165, null]], [167, "stopstack", 593, 1397, [164, null]], [168, "wait", 541, 1213, [149, 169, null]], [169, ["number", 1], 599, 1213, [168, null]], [170, "start", 486, 215, [null, 357]], [171, "storein", 486, 299, [357, 172, 173, 174]], [172, ["string", "test"], 554, 299, [171, null]], [173, ["number", 0], 554, 341, [171, null]], [174, "stack", 486, 383, [171, 175, 176]], [175, ["string", "setup"], 544, 383, [174, null]], [176, "stack", 486, 425, [174, 177, 178]], [177, ["string", "map"], 544, 425, [176, null]], [178, "stack", 486, 467, [176, 179, 180]], [179, ["string", "Q1"], 544, 467, [178, null]], [180, "stack", 486, 509, [178, 181, 182]], [181, ["string", "Q2"], 544, 509, [180, null]], [182, "stack", 486, 551, [180, 183, 184]], [183, ["string", "Q3"], 544, 551, [182, null]], [184, "stack", 486, 593, [182, 185, 186]], [185, ["string", "Q4"], 544, 593, [184, null]], [186, "stack", 486, 635, [184, 187, 188]], [187, ["string", "Q5"], 544, 635, [186, null]], [188, "stack", 486, 677, [186, 189, 359]], [189, ["string", "star"], 544, 677, [188, null]], [190, "box", 842, 581, [119, 191, null]], [191, ["string", "size"], 897, 581, [190, null]], [192, "storein", 748, 721, [127, 193, 194, 223]], [193, ["string", "box"], 816, 721, [192, null]], [194, "plus2", 816, 763, [192, 195, 196]], [195, "xcor", 870, 763, [194, null]], [196, "box", 870, 805, [194, 197, null]], [197, ["string", "size"], 925, 805, [196, null]], [198, "print", 748, 839, [223, 199, null]], [199, "plus2", 806, 839, [198, 200, 202]], [200, "box", 860, 839, [199, 201, null]], [201, ["string", "box"], 915, 839, [200, null]], [202, "plus2", 860, 881, [199, 203, 204]], [203, ["string", ", "], 914, 881, [202, null]], [204, "ycor", 914, 923, [202, null]], [205, ["number", -200], 433, 345, [248, null]], [206, "sandwichtop", 427, 679, [28, 207, 30]], [207, ["string", "sqrt(dx*dx+dy*dy)"], 530, 679, [206, null]], [208, ["sandwichcollapsed", 1], 445, 721, [48, null]], [209, "sandwichtop", 463, 536, [69, 210, 71]], [210, ["string", "earth from space"], 566, 536, [209, null]], [211, ["sandwichcollapsed", 1], 481, 578, [76, null]], [212, "sandwichtop", 815, 597, [90, 213, 214]], [213, ["string", "you've earned a star"], 918, 597, [212, null]], [214, "setxy", 833, 639, [212, 215, 216, 92]], [215, ["number", 0], 891, 639, [214, null]], [216, ["number", 0], 891, 681, [214, null]], [217, ["sandwichcollapsed", 1], 833, 639, [97, null]], [218, "sandwichtop", 462, 391, [111, 219, 220]], [219, ["string", "is the turtle on the mark?"], 565, 391, [218, null]], [220, ["vspace", 0], 480, 433, [218, 113]], [221, ["vspace", 0], 541, 1093, [147, 149]], [222, ["vspace", 0], 480, 915, [138, 143]], [223, ["vspace", 0], 748, 805, [192, 198]], [224, ["sandwichcollapsed", 1], 480, 433, [146, null]], [225, ["identity2", 60], 590, 535, [118, 119]], [226, "product2", 373, 611, [229, 8, 227]], [227, "box", 427, 653, [226, 228, null]], [228, ["string", "scalex"], 482, 653, [227, null]], [229, ["identity2", 40], 239, 611, [6, 226]], [230, "product2", 373, 695, [231, 11, 232]], [231, ["identity2", 40], 239, 695, [9, 230]], [232, "box", 427, 737, [230, 233, null]], [233, ["string", "scaley"], 482, 737, [232, null]], [234, "box", 427, 821, [236, 235, null]], [235, ["string", "scalex"], 482, 821, [234, null]], [236, "product2", 373, 779, [237, 14, 234]], [237, ["identity2", 40], 239, 779, [12, 236]], [238, "sandwichtop", 153, 527, [4, 239, 6]], [239, ["string", "New England"], 256, 527, [238, null]], [240, ["sandwichcollapsed", 1], 171, 569, [21, null]], [241, "hat", 177, 211, [null, 242, 243]], [242, ["string", "Q1"], 235, 219, [241, null]], [243, "sandwichtop", 159, 261, [241, 244, 245]], [244, ["string", "North America"], 262, 261, [243, null]], [245, "storein", 177, 303, [243, 246, 247, 251]], [246, ["string", "x"], 245, 303, [245, null]], [247, ["identity2", 40], 245, 345, [245, 248]], [248, "product2", 379, 345, [247, 205, 249]], [249, "box", 433, 387, [248, 250, null]], [250, ["string", "scalex"], 488, 387, [249, null]], [251, "storein", 177, 387, [245, 252, 253, 257]], [252, ["string", "y"], 245, 387, [251, null]], [253, ["identity2", 40], 245, 429, [251, 254]], [254, "product2", 379, 429, [253, 3, 255]], [255, "box", 433, 471, [254, 256, null]], [256, ["string", "scaley"], 488, 471, [255, null]], [257, "storein", 177, 471, [251, 258, 259, 263]], [258, ["string", "size"], 245, 471, [257, null]], [259, ["identity2", 40], 245, 513, [257, 260]], [260, "product2", 379, 513, [259, 2, 261]], [261, "box", 433, 555, [260, 262, null]], [262, ["string", "scalex"], 488, 555, [261, null]], [263, "storein", 177, 555, [257, 264, 0, 265]], [264, ["string", "name"], 245, 555, [263, null]], [265, "storein", 177, 639, [263, 266, 1, 267]], [266, ["string", "picture"], 245, 639, [265, null]], [267, "stack", 177, 723, [265, 268, 269]], [268, ["string", "go"], 235, 723, [267, null]], [269, ["sandwichcollapsed", 1], 177, 303, [267, null]], [270, "hat", 177, 342, [null, 271, 272]], [271, ["string", "Q2"], 235, 350, [270, null]], [272, "sandwichtop", 159, 392, [270, 273, 274]], [273, ["string", "United States"], 262, 392, [272, null]], [274, "storein", 177, 434, [272, 275, 276, 280]], [275, ["string", "x"], 245, 434, [274, null]], [276, ["identity2", 40], 245, 476, [274, 277]], [277, "product2", 379, 476, [276, 106, 278]], [278, "box", 433, 518, [277, 279, null]], [279, ["string", "scalex"], 488, 518, [278, null]], [280, "storein", 177, 518, [274, 281, 282, 286]], [281, ["string", "y"], 245, 518, [280, null]], [282, ["identity2", 40], 245, 560, [280, 283]], [283, "product2", 379, 560, [282, 107, 284]], [284, "box", 433, 602, [283, 285, null]], [285, ["string", "scaley"], 488, 602, [284, null]], [286, "storein", 177, 602, [280, 287, 288, 292]], [287, ["string", "size"], 245, 602, [286, null]], [288, ["identity2", 40], 245, 644, [286, 289]], [289, "product2", 379, 644, [288, 108, 290]], [290, "box", 433, 686, [289, 291, null]], [291, ["string", "scalex"], 488, 686, [290, null]], [292, "storein", 177, 686, [286, 293, 109, 294]], [293, ["string", "name"], 245, 686, [292, null]], [294, "storein", 177, 770, [292, 295, 110, 296]], [295, ["string", "picture"], 245, 770, [294, null]], [296, "stack", 177, 854, [294, 297, 298]], [297, ["string", "go"], 235, 854, [296, null]], [298, ["sandwichcollapsed", 1], 177, 434, [296, null]], [299, "hat", 165, 757, [null, 300, 301]], [300, ["string", "Q5"], 223, 765, [299, null]], [301, "sandwichtop", 147, 807, [299, 302, 303]], [302, ["string", "Boston"], 250, 807, [301, null]], [303, "storein", 165, 849, [301, 304, 305, 309]], [304, ["string", "x"], 233, 849, [303, null]], [305, ["identity2", 40], 233, 891, [303, 306]], [306, "product2", 367, 891, [305, 64, 307]], [307, "box", 421, 933, [306, 308, null]], [308, ["string", "scalex"], 476, 933, [307, null]], [309, "storein", 165, 933, [303, 310, 311, 315]], [310, ["string", "y"], 233, 933, [309, null]], [311, ["identity2", 40], 233, 975, [309, 312]], [312, "product2", 367, 975, [311, 65, 313]], [313, "box", 421, 1017, [312, 314, null]], [314, ["string", "scaley"], 476, 1017, [313, null]], [315, "storein", 165, 1017, [309, 316, 317, 321]], [316, ["string", "size"], 233, 1017, [315, null]], [317, ["identity2", 40], 233, 1059, [315, 318]], [318, "product2", 367, 1059, [317, 66, 319]], [319, "box", 421, 1101, [318, 320, null]], [320, ["string", "scalex"], 476, 1101, [319, null]], [321, "storein", 165, 1101, [315, 322, 67, 323]], [322, ["string", "name"], 233, 1101, [321, null]], [323, "storein", 165, 1185, [321, 324, 68, 325]], [324, ["string", "picture"], 233, 1185, [323, null]], [325, "stack", 165, 1269, [323, 326, 327]], [326, ["string", "go"], 223, 1269, [325, null]], [327, ["sandwichcollapsed", 1], 165, 849, [325, null]], [328, "hat", 170, 617, [null, 329, 330]], [329, ["string", "Q4"], 228, 625, [328, null]], [330, "sandwichtop", 152, 667, [328, 331, 332]], [331, ["string", "Massachusetts"], 255, 667, [330, null]], [332, "storein", 170, 709, [330, 333, 334, 338]], [333, ["string", "x"], 238, 709, [332, null]], [334, ["identity2", 40], 238, 751, [332, 335]], [335, "product2", 372, 751, [334, 23, 336]], [336, "box", 426, 793, [335, 337, null]], [337, ["string", "scalex"], 481, 793, [336, null]], [338, "storein", 170, 793, [332, 339, 340, 344]], [339, ["string", "y"], 238, 793, [338, null]], [340, ["identity2", 40], 238, 835, [338, 341]], [341, "product2", 372, 835, [340, 24, 342]], [342, "box", 426, 877, [341, 343, null]], [343, ["string", "scaley"], 481, 877, [342, null]], [344, "storein", 170, 877, [338, 345, 346, 350]], [345, ["string", "size"], 238, 877, [344, null]], [346, ["identity2", 40], 238, 919, [344, 347]], [347, "product2", 372, 919, [346, 25, 348]], [348, "box", 426, 961, [347, 349, null]], [349, ["string", "scalex"], 481, 961, [348, null]], [350, "storein", 170, 961, [344, 351, 26, 352]], [351, ["string", "name"], 238, 961, [350, null]], [352, "storein", 170, 1045, [350, 353, 27, 354]], [353, ["string", "picture"], 238, 1045, [352, null]], [354, "stack", 170, 1129, [352, 355, 356]], [355, ["string", "go"], 228, 1129, [354, null]], [356, ["sandwichcollapsed", 1], 170, 709, [354, null]], [357, "sandwichtop", 468, 257, [170, 358, 171]], [358, ["string", "play the game"], 571, 257, [357, null]], [359, ["sandwichcollapsed", 1], 486, 299, [188, null]], [360, "sandwichtop", 457, 811, [78, 361, 80]], [361, ["string", "scale"], 560, 811, [360, null]], [362, ["sandwichcollapsed", 1], 475, 853, [364, null]], [363, ["string", "size"], 645, 661, [126, null]], [364, "if", 475, 1241, [105, 365, 367, 362]], [365, "equal2", 513, 1207, [364, 368, 366, null]], [366, ["number", "0"], 559, 1249, [365, null]], [367, "hideblocks", 527, 1309, [364, null]], [368, "box", 559, 1207, [365, 369, null]], [369, ["string", "test"], 614, 1207, [368, null]], [370, ["vspace", 0], 475, 1173, [84, 105]], [371, "width", 597, 895, [82, null]], [372, ["vspace", 0], 475, 937, [80, 373]], [373, "storein", 475, 971, [372, 374, 375, 377]], [374, ["string", "scaley"], 543, 971, [373, null]], [375, "division2", 543, 1013, [373, 378, 376]], [376, ["number", 900], 621, 1059, [375, null]], [377, ["vspace", 0], 475, 1055, [373, 84]], [378, "height", 597, 1013, [375, null]], [-1, ["turtle", 1], 0, 0, 0.0, 216.0, 50, 15.0]] \ No newline at end of file
diff --git a/samples/flower.ta b/samples/flower.ta
index 402dc55..b498e57 100644
--- a/samples/flower.ta
+++ b/samples/flower.ta
@@ -1 +1 @@
-[[0, "hat1", 838, 260, [null, 1]], [1, "repeat", 850, 310, [0, 2, 3, null]], [2, ["number", "4"], 936, 319, [1, null]], [3, "forward", 945, 359, [1, 4, 5]], [4, "box1", 1019, 368, [3, null]], [5, "right", 945, 398, [3, 6, null]], [6, ["number", "90"], 1019, 407, [5, null]], [7, "hat2", 846, 55, [null, 8]], [8, "repeat", 858, 105, [7, 9, 10, null]], [9, ["number", "10"], 944, 114, [8, null]], [10, "stack1", 953, 154, [8, 11]], [11, "right", 953, 193, [10, 12, null]], [12, ["number", "36"], 1027, 202, [11, null]], [13, "start", 200, 19, [null, 14]], [14, "clean", 212, 69, [13, 15]], [15, "storeinbox1", 212, 108, [14, 16, 17]], [16, ["number", "0"], 286, 125, [15, null]], [17, "repeat", 212, 162, [15, 18, 19, null]], [18, ["number", "300"], 298, 171, [17, null]], [19, "setshade", 307, 211, [17, 20, 23]], [20, "minus2", 381, 204, [19, 21, 22]], [21, ["number", "100"], 421, 212, [20, null]], [22, "box1", 440, 245, [20, null]], [23, "setcolor", 307, 265, [19, 24, 27]], [24, "division2", 381, 258, [23, 25, 26]], [25, "box1", 421, 266, [24, null]], [26, ["number", "3"], 440, 299, [24, null]], [27, "stack2", 307, 319, [23, 28]], [28, "storeinbox1", 307, 358, [27, 29, null]], [29, "plus2", 381, 351, [28, 30, 31]], [30, "box1", 421, 359, [29, null]], [31, ["number", "1"], 421, 392, [29, null]], [-1, "turtle", 1.3812950783176348e-11, -7.4464878707658499e-11, 0.0, 99.666666666666671, -199.0, 5]] \ No newline at end of file
+[[0, "hat1", 582, 175, [null, 1]], [1, "repeat", 582, 217, [0, 2, 3, null]], [2, ["number", 4], 633, 217, [1, null]], [3, "forward", 647, 277, [1, 4, 5]], [4, "box1", 718, 277, [3, null]], [5, "right", 647, 319, [3, 6, null]], [6, ["number", 90], 705, 319, [5, null]], [7, "hat2", 583, 382, [null, 8]], [8, "repeat", 583, 424, [7, 9, 10, null]], [9, ["number", 10], 634, 424, [8, null]], [10, "stack1", 648, 484, [8, 11]], [11, "right", 648, 518, [10, 12, null]], [12, ["number", 36], 706, 518, [11, null]], [13, "start", 187, 175, [null, 14]], [14, "clean", 187, 217, [13, 15]], [15, "storeinbox1", 187, 251, [14, 16, 17]], [16, ["number", 0], 305, 251, [15, null]], [17, "repeat", 187, 293, [15, 18, 19, null]], [18, ["number", 300], 238, 293, [17, null]], [19, "setshade", 252, 353, [17, 20, 32]], [20, "minus2", 337, 353, [19, 21, 22]], [21, ["number", 100], 391, 353, [20, null]], [22, "box1", 415, 399, [20, null]], [23, "setcolor", 252, 429, [32, 24, 27]], [24, "division2", 329, 429, [23, 25, 26]], [25, "box1", 383, 429, [24, null]], [26, ["number", 3], 407, 475, [24, null]], [27, "stack2", 252, 471, [23, 28]], [28, "storeinbox1", 252, 505, [27, 29, null]], [29, "plus2", 370, 505, [28, 30, 31]], [30, "box1", 424, 505, [29, null]], [31, ["number", 1], 424, 547, [29, null]], [32, ["vspace", 0], 252, 395, [19, 23]], [-1, ["turtle", 1], 68, 67, 180.0, 22.666666666666668, 32.0, 5]] \ No newline at end of file
diff --git a/samples/forster.ta b/samples/forster.ta
new file mode 100644
index 0000000..047b40c
--- /dev/null
+++ b/samples/forster.ta
@@ -0,0 +1 @@
+[[0, "start", 175, 177, [null, 1]], [1, "storein", 175, 219, [0, 2, 3, 9]], [2, ["string", "program"], 243, 219, [1, null]], [3, ["string", "doit"], 243, 261, [1, null]], [4, "stack", 175, 429, [6, 5, null]], [5, ["string", "runarray"], 233, 429, [4, null]], [6, "storein", 175, 345, [9, 7, 8, 4]], [7, ["string", "program"], 243, 345, [6, null]], [8, ["string", "printit"], 243, 387, [6, null]], [9, "stack", 175, 303, [1, 10, 6]], [10, ["string", "runarray"], 233, 303, [9, null]], [11, ["string", "status"], 771, 189, [85, null]], [12, "print", 713, 231, [85, 13, null]], [13, "plus2", 771, 231, [12, 16, 14]], [14, "plus2", 825, 273, [13, 17, 15]], [15, "plus2", 879, 315, [14, 21, 19]], [16, ["string", "executing "], 825, 231, [13, null]], [17, "box", 879, 273, [14, 18, null]], [18, ["string", "program"], 934, 273, [17, null]], [19, "box", 933, 357, [15, 20, null]], [20, ["string", "row"], 988, 357, [19, null]], [21, ["string", "row"], 933, 315, [15, null]], [22, ["string", "runarray"], 471, 183, [84, null]], [23, "storein", 413, 225, [84, 24, 25, 26]], [24, ["string", "row"], 481, 225, [23, null]], [25, ["number", 1], 481, 267, [23, null]], [26, "repeat", 413, 309, [23, 27, 29, null]], [27, ["number", 10], 464, 309, [26, null]], [28, ["vspace", 40], 543, 639, [37, 48]], [29, "stack", 478, 369, [26, 30, 31]], [30, ["string", "status"], 536, 369, [29, null]], [31, "storein", 478, 411, [29, 32, 33, 34]], [32, ["string", "column"], 546, 411, [31, null]], [33, ["number", 1], 546, 453, [31, null]], [34, "repeat", 478, 495, [31, 35, 37, 36]], [35, ["number", 10], 529, 495, [34, null]], [36, ["vspace", 160], 478, 573, [34, 57]], [37, "storein", 543, 555, [34, 38, 39, 28]], [38, ["string", "index"], 611, 555, [37, null]], [39, "plus2", 611, 597, [37, 42, 40]], [40, "plus2", 665, 639, [39, 43, 41]], [41, "plus2", 719, 681, [40, 45, 46]], [42, ["string", "r:"], 665, 597, [39, null]], [43, "box", 719, 639, [40, 44, null]], [44, ["string", "row"], 774, 639, [43, null]], [45, ["string", " c:"], 773, 681, [41, null]], [46, "box", 773, 723, [41, 47, null]], [47, ["string", "column"], 828, 723, [46, null]], [48, "stack", 543, 753, [28, 49, 51]], [49, "box", 601, 753, [48, 50, null]], [50, ["string", "program"], 656, 753, [49, null]], [51, "storein", 543, 795, [48, 52, 54, null]], [52, ["string", "column"], 611, 795, [51, null]], [53, ["number", 1], 665, 879, [54, null]], [54, "plus2", 611, 837, [51, 55, 53]], [55, "box", 665, 837, [54, 56, null]], [56, ["string", "column"], 720, 837, [55, null]], [57, "storein", 478, 927, [36, 58, 60, null]], [58, ["string", "row"], 546, 927, [57, null]], [59, ["number", 1], 600, 1011, [60, null]], [60, "plus2", 546, 969, [57, 61, 59]], [61, "box", 600, 969, [60, 62, null]], [62, ["string", "row"], 655, 969, [61, null]], [63, ["string", "doit"], 783, 409, [86, null]], [64, "storein", 725, 451, [86, 66, 65, null]], [65, "product2", 793, 493, [64, 68, 70]], [66, "box", 793, 451, [64, 67, null]], [67, ["string", "index"], 848, 451, [66, null]], [68, "box", 847, 493, [65, 69, null]], [69, ["string", "row"], 902, 493, [68, null]], [70, "box", 847, 535, [65, 71, null]], [71, ["string", "column"], 902, 535, [70, null]], [72, ["string", "printit"], 237, 521, [87, null]], [73, "print", 179, 563, [87, 77, 75]], [74, "print", 179, 647, [75, 79, 82]], [75, "wait", 179, 605, [73, 76, 74]], [76, ["number", 0], 237, 605, [75, null]], [77, "box", 237, 563, [73, 78, null]], [78, ["string", "index"], 292, 563, [77, null]], [79, "box", 237, 647, [74, 80, null]], [80, "box", 292, 647, [79, 81, null]], [81, ["string", "index"], 347, 647, [80, null]], [82, "wait", 179, 689, [74, 83, null]], [83, ["number", 0], 237, 689, [82, null]], [84, "hat", 413, 175, [null, 22, 23]], [85, "hat", 713, 181, [null, 11, 12]], [86, "hat", 725, 401, [null, 63, 64]], [87, "hat", 179, 513, [null, 72, 73]], [-1, ["turtle", 1], 0, 0, 240.0, 30.0, 30.0, 5.0]] \ No newline at end of file
diff --git a/samples/fountain.ta b/samples/fountain.ta
index 3a5ac57..56abc3e 100644
--- a/samples/fountain.ta
+++ b/samples/fountain.ta
@@ -1 +1 @@
-[[0, "fillscreen", 245, 98, [17, 1, 2, 3]], [1, ["number", "10"], 319, 107, [0, null]], [2, ["number", "30"], 319, 144, [0, null]], [3, "setshade", 245, 174, [0, 4, 5]], [4, ["number", "85"], 319, 191, [3, null]], [5, "setxy", 245, 228, [3, 6, 7, 8]], [6, ["number", "-590"], 319, 237, [5, null]], [7, ["number", "-450"], 319, 274, [5, null]], [8, "setpensize", 245, 304, [5, 9, 10]], [9, ["number", "3"], 319, 321, [8, null]], [10, "repeat", 245, 358, [8, 11, 12, null]], [11, ["number", "6"], 331, 367, [10, null]], [12, "seth", 340, 407, [10, 13, 14]], [13, ["number", "0"], 414, 416, [12, null]], [14, "stack1", 340, 446, [12, 15]], [15, "setxy", 340, 485, [14, 18, 16, null]], [16, "ycor", 414, 531, [15, null]], [17, "start", 233, 48, [null, 0]], [18, "plus2", 414, 470, [15, 19, 20]], [19, "xcor", 454, 478, [18, null]], [20, ["number", "200"], 454, 511, [18, null]], [21, "hat1", 474, 35, [null, 22]], [22, "repeat", 486, 85, [21, 23, 24, null]], [23, ["number", "400"], 572, 94, [22, null]], [24, "storeinbox1", 581, 134, [22, 25, 28]], [25, "division2", 655, 127, [24, 26, 27]], [26, "heading", 695, 135, [25, null]], [27, ["number", 2], 714, 168, [25, null]], [28, "storeinbox2", 581, 188, [24, 29, 32]], [29, "plus2", 655, 181, [28, 30, 31]], [30, "box1", 695, 189, [29, null]], [31, ["number", 5], 695, 222, [29, null]], [32, "setcolor", 581, 242, [28, 33, 36]], [33, "random", 655, 240, [32, 34, 35, null]], [34, "box1", 683, 259, [33, null]], [35, "box2", 805, 259, [33, null]], [36, "arc", 581, 296, [32, 37, 38, 39]], [37, ["number", -40], 655, 305, [36, null]], [38, ["number", 3000], 655, 342, [36, null]], [39, "arc", 581, 372, [36, 40, 41, 42]], [40, ["number", -40], 655, 381, [39, null]], [41, ["number", -3000], 655, 418, [39, null]], [42, "right", 581, 448, [39, 43, null]], [43, ["number", ".1"], 655, 457, [42, null]], [-1, "turtle", 609.99999999906686, -450.00000000254568, 40.000000000009074, 20, 85.0, 3.0]] \ No newline at end of file
+[[0, "fillscreen", 177, 217, [17, 1, 2, 3]], [1, ["number", 10], 259, 217, [0, null]], [2, ["number", 30], 259, 259, [0, null]], [3, "setshade", 177, 301, [0, 4, 5]], [4, ["number", 85], 262, 301, [3, null]], [5, "setxy", 177, 343, [3, 6, 7, 8]], [6, ["number", -590], 235, 343, [5, null]], [7, ["number", -450], 235, 385, [5, null]], [8, "setpensize", 177, 427, [5, 9, 10]], [9, ["number", 3], 279, 427, [8, null]], [10, "repeat", 177, 469, [8, 11, 12, null]], [11, ["number", 6], 228, 469, [10, null]], [12, "seth", 242, 529, [10, 13, 14]], [13, ["number", 0], 341, 529, [12, null]], [14, "stack1", 242, 571, [12, 15]], [15, "setxy", 242, 605, [14, 47, 16, null]], [16, "ycor", 300, 647, [15, null]], [17, "start", 177, 175, [null, 0]], [18, "plus2", 394, 605, [47, 19, 20]], [19, "xcor", 448, 605, [18, null]], [20, ["number", 200], 448, 647, [18, null]], [21, "hat1", 559, 175, [null, 22]], [22, "repeat", 559, 217, [21, 23, 24, null]], [23, ["number", 400], 610, 217, [22, null]], [24, "storeinbox1", 624, 277, [22, 25, 45]], [25, "division2", 742, 277, [24, 26, 27]], [26, "heading", 796, 277, [25, null]], [27, ["number", 2], 820, 323, [25, null]], [28, "storeinbox2", 624, 353, [45, 29, 46]], [29, "plus2", 742, 353, [28, 30, 31]], [30, "box1", 796, 353, [29, null]], [31, ["number", 5], 796, 395, [29, null]], [32, "setcolor", 624, 429, [46, 33, 44]], [33, "random", 701, 429, [32, 34, 35, null]], [34, "box1", 787, 429, [33, null]], [35, "box2", 787, 471, [33, null]], [36, "arc", 624, 505, [44, 37, 38, 39]], [37, ["number", -40], 682, 505, [36, null]], [38, ["number", 3000], 682, 547, [36, null]], [39, "arc", 624, 589, [36, 40, 41, 42]], [40, ["number", -40], 682, 589, [39, null]], [41, ["number", -3000], 682, 631, [39, null]], [42, "right", 624, 673, [39, 43, null]], [43, ["number", 0.10000000000000001], 682, 673, [42, null]], [44, ["vspace", 0], 624, 471, [32, 36]], [45, ["vspace", 0], 624, 319, [24, 28]], [46, ["vspace", 0], 624, 395, [28, 32]], [47, ["identity2", 20], 300, 605, [15, 18]], [-1, ["turtle", 1], 9, -450, 19.500000000004412, 10, 85.0, 3.0]] \ No newline at end of file
diff --git a/samples/images/Africa.png b/samples/images/Africa.png
new file mode 100644
index 0000000..07e03f0
--- /dev/null
+++ b/samples/images/Africa.png
Binary files differ
diff --git a/samples/images/Australia.png b/samples/images/Australia.png
new file mode 100644
index 0000000..91f215b
--- /dev/null
+++ b/samples/images/Australia.png
Binary files differ
diff --git a/samples/images/Boston.png b/samples/images/Boston.png
new file mode 100644
index 0000000..5ab2ff7
--- /dev/null
+++ b/samples/images/Boston.png
Binary files differ
diff --git a/samples/images/COPYING b/samples/images/COPYING
new file mode 100644
index 0000000..1f28fd3
--- /dev/null
+++ b/samples/images/COPYING
@@ -0,0 +1,26 @@
+Permission is granted to copy, distribute and/or modify these documents
+under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
+copy of the license is included in the section entitled "GNU Free
+Documentation License".
+
+Riptor3000 is the copyright holder of Boston.png (retreived from the
+Wikipedia and modified by Walter Bender, 2010).
+
+Pythagoras is from the Wikimedia Commons, uploaded in 2007 by Galilea.
+
+Elise Bender is the copyright holder of me.jpg
+
+World_Map.png was retrieved from the Wikipedia and modified by Walter
+Bender in 2009, 2010.
+
+Africa.png, Australia.png, Eurasia.png, North_America.png, and
+South_America.png are modifications of World_Map.png made by Jalen
+Basquiet and Walter Bender in 2009, 2010.
+
+earth.png, Massachusetts.png, North_America.jpg, and United_States.png
+were retrieved from the Wikipedia and modified by Walter Bender in
+2009, 2010.
+
+
diff --git a/samples/images/Eurasia.png b/samples/images/Eurasia.png
new file mode 100644
index 0000000..58702ec
--- /dev/null
+++ b/samples/images/Eurasia.png
Binary files differ
diff --git a/samples/images/Massachuetts.png b/samples/images/Massachuetts.png
new file mode 100644
index 0000000..f92b0d3
--- /dev/null
+++ b/samples/images/Massachuetts.png
Binary files differ
diff --git a/samples/images/New-England.png b/samples/images/New-England.png
new file mode 100644
index 0000000..8845ffc
--- /dev/null
+++ b/samples/images/New-England.png
Binary files differ
diff --git a/samples/images/North_America.jpg b/samples/images/North_America.jpg
new file mode 100644
index 0000000..4fa3436
--- /dev/null
+++ b/samples/images/North_America.jpg
Binary files differ
diff --git a/samples/images/North_America.png b/samples/images/North_America.png
new file mode 100644
index 0000000..eddda2b
--- /dev/null
+++ b/samples/images/North_America.png
Binary files differ
diff --git a/samples/images/Pythagoras.jpg b/samples/images/Pythagoras.jpg
new file mode 100644
index 0000000..4b84ac5
--- /dev/null
+++ b/samples/images/Pythagoras.jpg
Binary files differ
diff --git a/samples/images/South_America.png b/samples/images/South_America.png
new file mode 100644
index 0000000..afd9db6
--- /dev/null
+++ b/samples/images/South_America.png
Binary files differ
diff --git a/samples/images/United_States.png b/samples/images/United_States.png
new file mode 100644
index 0000000..a29bf1c
--- /dev/null
+++ b/samples/images/United_States.png
Binary files differ
diff --git a/samples/images/World_Map.png b/samples/images/World_Map.png
new file mode 100644
index 0000000..06b5a1f
--- /dev/null
+++ b/samples/images/World_Map.png
Binary files differ
diff --git a/samples/images/earth.png b/samples/images/earth.png
new file mode 100644
index 0000000..fd531cf
--- /dev/null
+++ b/samples/images/earth.png
Binary files differ
diff --git a/samples/images/me.jpg b/samples/images/me.jpg
new file mode 100644
index 0000000..a4bb1f9
--- /dev/null
+++ b/samples/images/me.jpg
Binary files differ
diff --git a/samples/rainbow.ta b/samples/rainbow.ta
index 66df564..19f425e 100644
--- a/samples/rainbow.ta
+++ b/samples/rainbow.ta
@@ -1 +1 @@
-[[0, "start", 215, 13, [null, 1]], [1, "clean", 227, 63, [0, 2]], [2, "setcolor", 227, 102, [1, 3, 4]], [3, ["number", "50"], 301, 119, [2, null]], [4, "setpensize", 227, 156, [2, 5, 6]], [5, ["number", "15"], 301, 173, [4, null]], [6, "repeat", 227, 210, [4, 7, 8, null]], [7, ["number", 360], 313, 219, [6, null]], [8, "setcolor", 322, 259, [6, 9, 14]], [9, "product2", 396, 252, [8, 10, 11]], [10, "heading", 436, 260, [9, null]], [11, "division2", 436, 269, [9, 12, 13]], [12, ["number", "100"], 476, 277, [11, null]], [13, ["number", 360], 495, 310, [11, null]], [14, "forward", 322, 313, [8, 15, 16]], [15, ["number", "1000"], 396, 322, [14, null]], [16, "back", 322, 352, [14, 17, 18]], [17, ["number", "1000"], 396, 361, [16, null]], [18, "right", 322, 391, [16, 19, null]], [19, ["number", 1], 396, 400, [18, null]], [-1, "turtle", 0.0, 0.0, 0.0, 99.722222222222229, 50, 15.0]] \ No newline at end of file
+[[0, "start", 175, 178, [null, 1]], [1, "clean", 175, 220, [0, 2]], [2, "setcolor", 175, 254, [1, 3, 4]], [3, ["number", 50], 252, 254, [2, null]], [4, "setpensize", 175, 296, [2, 5, 6]], [5, ["number", 15], 277, 296, [4, null]], [6, "repeat", 175, 338, [4, 7, 8, null]], [7, ["number", 360], 226, 338, [6, null]], [8, "setcolor", 240, 398, [6, 9, 20]], [9, "product2", 317, 398, [8, 10, 11]], [10, "heading", 371, 398, [9, null]], [11, "division2", 371, 440, [9, 12, 13]], [12, ["number", 100], 425, 440, [11, null]], [13, ["number", 360], 449, 486, [11, null]], [14, "forward", 240, 554, [20, 15, 16]], [15, ["number", 1000], 311, 554, [14, null]], [16, "back", 240, 596, [14, 17, 18]], [17, ["number", 1000], 298, 596, [16, null]], [18, "right", 240, 638, [16, 19, null]], [19, ["number", 1], 298, 638, [18, null]], [20, ["vspace", 40], 240, 440, [8, 14]], [-1, ["turtle", 1], 0, 0, 0.0, 99.722222222222229, 50, 15.0]] \ No newline at end of file
diff --git a/samples/redwisp.ta b/samples/redwisp.ta
index 806461f..cd9f11a 100644
--- a/samples/redwisp.ta
+++ b/samples/redwisp.ta
@@ -1 +1 @@
-[[0, "setpensize", 228, 140, [2, 1, 3]], [1, ["number", "15"], 302, 157, [0, null]], [2, "clean", 228, 101, [8, 0]], [3, "repeat", 228, 194, [0, 4, 5, null]], [4, ["number", "360"], 314, 203, [3, null]], [5, "storeinbox1", 323, 243, [3, 9, 6]], [6, "setshade", 323, 297, [5, 12, 7]], [7, "stack1", 323, 351, [6, null]], [8, "start", 216, 51, [null, 2]], [9, "product2", 397, 236, [5, 10, 11]], [10, "heading", 437, 244, [9, null]], [11, ["number", "600"], 437, 277, [9, null]], [12, "division2", 397, 290, [6, 13, 14]], [13, "box1", 437, 298, [12, null]], [14, ["number", "360"], 456, 331, [12, null]], [15, "hat1", 655, 14, [null, 16]], [16, "repeat", 667, 64, [15, 17, 18, 24]], [17, ["number", "4"], 753, 73, [16, null]], [18, "arc", 762, 113, [16, 19, 20, 21]], [19, ["number", "180"], 836, 122, [18, null]], [20, ["number", "75"], 836, 159, [18, null]], [21, "arc", 762, 189, [18, 22, 23, null]], [22, ["number", "-180"], 836, 198, [21, null]], [23, ["number", "75"], 836, 235, [21, null]], [24, "vspace", 667, 154, [16, 25]], [25, "vspace", 667, 223, [24, 26]], [26, "repeat", 667, 292, [25, 27, 28, 34]], [27, ["number", "4"], 753, 301, [26, null]], [28, "arc", 762, 341, [26, 29, 30, 31]], [29, ["number", "-180"], 836, 350, [28, null]], [30, ["number", "-75"], 836, 387, [28, null]], [31, "arc", 762, 417, [28, 32, 33, null]], [32, ["number", "180"], 836, 426, [31, null]], [33, ["number", "-75"], 836, 463, [31, null]], [34, "vspace", 667, 382, [26, 35]], [35, "vspace", 667, 451, [34, 36]], [36, "right", 667, 520, [35, 37, null]], [37, ["number", "1"], 741, 529, [36, null]], [-1, "turtle", 8.5265128291212022e-14, -6.5347727229436714e-13, 0.0, 0, 598.33333333333337, 15.0]] \ No newline at end of file
+[[0, "setpensize", 169, 251, [2, 1, 3]], [1, ["number", 15], 271, 251, [0, null]], [2, "clean", 169, 217, [8, 0]], [3, "repeat", 169, 293, [0, 4, 5, null]], [4, ["number", 360], 220, 293, [3, null]], [5, "storeinbox1", 234, 353, [3, 9, 36]], [6, "setshade", 234, 429, [36, 12, 7]], [7, "stack1", 234, 471, [6, null]], [8, "start", 169, 175, [null, 2]], [9, "product2", 352, 353, [5, 10, 11]], [10, "heading", 406, 353, [9, null]], [11, ["number", 600], 406, 395, [9, null]], [12, "division2", 319, 429, [6, 13, 14]], [13, "box1", 373, 429, [12, null]], [14, ["number", 360], 397, 475, [12, null]], [15, "hat1", 555, 175, [null, 16]], [16, "repeat", 555, 217, [15, 17, 18, 24]], [17, ["number", 4], 606, 217, [16, null]], [18, "arc", 620, 277, [16, 19, 20, 21]], [19, ["number", 180], 678, 277, [18, null]], [20, ["number", 75], 678, 319, [18, null]], [21, "arc", 620, 361, [18, 22, 23, null]], [22, ["number", -180], 678, 361, [21, null]], [23, ["number", 75], 678, 403, [21, null]], [24, ["vspace", 60], 555, 295, [16, 25]], [25, "repeat", 555, 449, [24, 26, 27, 33]], [26, ["number", 4], 606, 449, [25, null]], [27, "arc", 620, 509, [25, 28, 29, 30]], [28, ["number", -180], 678, 509, [27, null]], [29, ["number", -75], 678, 551, [27, null]], [30, "arc", 620, 593, [27, 31, 32, null]], [31, ["number", 180], 678, 593, [30, null]], [32, ["number", -75], 678, 635, [30, null]], [33, ["vspace", 60], 555, 527, [25, 34]], [34, "right", 555, 681, [33, 35, null]], [35, ["number", 1], 613, 681, [34, null]], [36, ["vspace", 0], 234, 395, [5, 6]], [-1, ["turtle", 1], 0, 0, 0.0, 0, 598.33333333333337, 15.0]] \ No newline at end of file
diff --git a/samples/reflections.ta b/samples/reflections.ta
index 28cdcd5..8ad868e 100644
--- a/samples/reflections.ta
+++ b/samples/reflections.ta
@@ -1 +1 @@
-[[0, "clean", 243, 63, [16, 1]], [1, "setpensize", 243, 102, [0, 2, 3]], [2, ["number", "15"], 317, 119, [1, null]], [3, "storeinbox1", 243, 156, [1, 4, 5]], [4, ["number", "6200"], 317, 173, [3, null]], [5, "repeat", 243, 210, [3, 6, 7, null]], [6, ["number", "6200"], 329, 219, [5, null]], [7, "storeinbox2", 338, 259, [5, 23, 8]], [8, "setshade", 338, 313, [7, 17, 9]], [9, "forward", 338, 367, [8, 26, 10]], [10, "back", 338, 406, [9, 29, 11]], [11, "right", 338, 445, [10, 12, 13]], [12, ["number", "1"], 412, 454, [11, null]], [13, "storeinbox1", 338, 484, [11, 20, 14]], [14, "setcolor", 338, 538, [13, 15, null]], [15, "box1", 412, 555, [14, null]], [16, "start", 231, 13, [null, 0]], [17, "minus2", 412, 306, [8, 18, 19]], [18, ["number", "100"], 452, 314, [17, null]], [19, "box2", 471, 347, [17, null]], [20, "minus2", 412, 477, [13, 21, 22]], [21, "box1", 452, 485, [20, null]], [22, ["number", "1"], 471, 518, [20, null]], [23, "division2", 412, 252, [7, 24, 25]], [24, "box1", 452, 260, [23, null]], [25, ["number", "50"], 471, 293, [23, null]], [26, "division2", 412, 352, [9, 27, 28]], [27, "box1", 452, 360, [26, null]], [28, ["number", "8"], 471, 393, [26, null]], [29, "division2", 412, 391, [10, 30, 31]], [30, "box1", 452, 399, [29, null]], [31, ["number", "8"], 471, 432, [29, null]], [-1, "turtle", 0.0, 0.0, 115.0, 3205.0, 35.900000000000006, 15.0]] \ No newline at end of file
+[[0, "clean", 176, 221, [16, 1]], [1, "setpensize", 176, 255, [0, 2, 3]], [2, ["number", 15], 278, 255, [1, null]], [3, "storeinbox1", 176, 297, [1, 4, 5]], [4, ["number", 6200], 294, 297, [3, null]], [5, "repeat", 176, 339, [3, 6, 7, null]], [6, ["number", 6200], 227, 339, [5, null]], [7, "storeinbox2", 241, 399, [5, 23, 32]], [8, "setshade", 241, 475, [32, 17, 33]], [9, "forward", 241, 551, [33, 26, 34]], [10, "back", 241, 627, [34, 29, 35]], [11, "right", 241, 703, [35, 12, 13]], [12, ["number", 1], 299, 703, [11, null]], [13, "storeinbox1", 241, 745, [11, 20, 36]], [14, "setcolor", 241, 821, [36, 15, null]], [15, "box1", 318, 821, [14, null]], [16, "start", 176, 179, [null, 0]], [17, "minus2", 326, 475, [8, 18, 19]], [18, ["number", 100], 380, 475, [17, null]], [19, "box2", 404, 521, [17, null]], [20, "minus2", 359, 745, [13, 21, 22]], [21, "box1", 413, 745, [20, null]], [22, ["number", 1], 437, 791, [20, null]], [23, "division2", 359, 399, [7, 24, 25]], [24, "box1", 413, 399, [23, null]], [25, ["number", 50], 437, 445, [23, null]], [26, "division2", 312, 551, [9, 27, 28]], [27, "box1", 366, 551, [26, null]], [28, ["number", 8], 390, 597, [26, null]], [29, "division2", 299, 627, [10, 30, 31]], [30, "box1", 353, 627, [29, null]], [31, ["number", 8], 377, 673, [29, null]], [32, ["vspace", 0], 241, 441, [7, 8]], [33, ["vspace", 0], 241, 517, [8, 9]], [34, ["vspace", 0], 241, 593, [9, 10]], [35, ["vspace", 0], 241, 669, [10, 11]], [36, ["vspace", 0], 241, 787, [13, 14]], [-1, ["turtle", 1], 0, 0, 80.0, 0.0, 99.980000000000004, 15.0]] \ No newline at end of file
diff --git a/samples/set.ta b/samples/set.ta
new file mode 100644
index 0000000..d7252d2
--- /dev/null
+++ b/samples/set.ta
@@ -0,0 +1 @@
+[[0, "hat", 582, 208, [null, 1, 133]], [1, ["string", "shape1"], 640, 216, [0, null]], [2, "hat", 585, 369, [null, 3, 136]], [3, ["string", "shape2"], 643, 377, [2, null]], [4, "forward", 647, 528, [10, 5, 6]], [5, ["number", "70"], 718, 528, [4, null]], [6, "back", 647, 570, [4, 7, 24]], [7, ["number", "70"], 705, 570, [6, null]], [8, "seth", 582, 342, [32, 9, 19]], [9, ["number", 45], 681, 342, [8, null]], [10, "repeat", 582, 468, [28, 11, 4, 12]], [11, ["number", 4], 633, 468, [10, null]], [12, ["vspace", 40], 582, 546, [10, 21]], [13, "repeat", 582, 744, [23, 14, 15, 135]], [14, ["number", 4], 633, 744, [13, null]], [15, "forward", 647, 804, [13, 16, 17]], [16, ["number", "67"], 718, 804, [15, null]], [17, "back", 647, 846, [15, 18, 26]], [18, ["number", "67"], 705, 846, [17, null]], [19, "setpensize", 582, 384, [8, 20, 28]], [20, ["number", 40], 684, 384, [19, null]], [21, "setpensize", 582, 660, [12, 22, 23]], [22, ["number", 20], 684, 660, [21, null]], [23, "setshade", 582, 702, [21, 30, 13]], [24, "right", 647, 612, [6, 25, null]], [25, ["number", 90], 705, 612, [24, null]], [26, "right", 647, 888, [17, 27, null]], [27, ["number", 90], 705, 888, [26, null]], [28, "setshade", 582, 426, [19, 29, 10]], [29, ["number", 50], 667, 426, [28, null]], [30, "box", 667, 702, [23, 31, null]], [31, ["string", "shade"], 722, 702, [30, null]], [32, "setcolor", 582, 300, [133, 33, 8]], [33, "box", 659, 300, [32, 34, null]], [34, ["string", "color"], 714, 300, [33, null]], [35, "storein", 308, 448, [77, 36, 37, 50]], [36, ["string", "color"], 376, 448, [35, null]], [37, ["number", 0], 376, 490, [35, null]], [38, "storein", 331, 775, [80, 39, 40, 41]], [39, ["string", "shade"], 399, 775, [38, null]], [40, ["number", 0], 399, 817, [38, null]], [41, "repeat", 331, 859, [38, 42, 235, 82]], [42, ["number", 3], 382, 859, [41, null]], [43, "box", 518, 1003, [45, 44, null]], [44, ["string", "shade"], 573, 1003, [43, null]], [45, "plus2", 464, 1003, [47, 43, 46]], [46, ["number", 50], 518, 1045, [45, null]], [47, "storein", 396, 961, [235, 48, 45, null]], [48, ["string", "shade"], 464, 961, [47, null]], [49, "stack", 100, 1066, [281, 65, 283]], [50, "repeat", 308, 532, [35, 51, 83, 79]], [51, ["number", 3], 359, 532, [50, null]], [52, ["string", "shape"], 346, 1066, [64, null]], [53, "storein", 373, 634, [83, 54, 56, null]], [54, ["string", "color"], 441, 634, [53, null]], [55, ["number", 35], 495, 718, [56, null]], [56, "plus2", 441, 676, [53, 57, 55]], [57, "box", 495, 676, [56, 58, null]], [58, ["string", "color"], 550, 676, [57, null]], [59, "box", 346, 1108, [64, 60, null]], [60, ["string", "shape"], 401, 1108, [59, null]], [61, "storein", 297, 297, [74, 62, 63, 66]], [62, ["string", "shape"], 365, 297, [61, null]], [63, ["number", 1], 365, 339, [61, null]], [64, "plus2", 292, 1066, [65, 52, 59]], [65, ["identity2", 40.0], 158, 1066, [49, 64]], [66, "repeat", 297, 381, [61, 67, 89, 76]], [67, ["number", 3], 348, 381, [66, null]], [68, "storein", 362, 483, [89, 69, 73, null]], [69, ["string", "shape"], 430, 483, [68, null]], [70, ["number", 1], 484, 567, [73, null]], [71, "box", 484, 525, [73, 72, null]], [72, ["string", "shape"], 539, 525, [71, null]], [73, "plus2", 430, 525, [68, 71, 70]], [74, "sandwichtop", 279, 255, [91, 75, 61]], [75, ["string", "shape loop"], 382, 255, [74, null]], [76, ["sandwichcollapsed", 1], 297, 297, [66, null]], [77, "sandwichtop", 290, 406, [87, 78, 35]], [78, ["string", "color loop"], 393, 406, [77, null]], [79, ["sandwichcollapsed", 1], 308, 448, [50, null]], [80, "sandwichtop", 313, 733, [85, 81, 38]], [81, ["string", "shade loop"], 416, 733, [80, null]], [82, ["sandwichcollapsed", 1], 331, 775, [41, null]], [83, "stack", 373, 592, [50, 84, 53]], [84, ["string", "numberloop"], 431, 592, [83, null]], [85, "hat", 331, 683, [null, 86, 80]], [86, ["string", "shadeloop"], 389, 691, [85, null]], [87, "hat", 308, 356, [null, 88, 77]], [88, ["string", "colorloop"], 366, 364, [87, null]], [89, "stack", 362, 441, [66, 90, 68]], [90, ["string", "colorloop"], 420, 441, [89, null]], [91, "hat", 297, 205, [null, 92, 74]], [92, ["string", "shapeloop"], 355, 213, [91, null]], [93, "setcolor", 585, 461, [136, 94, 96]], [94, "box", 662, 461, [93, 95, null]], [95, ["string", "color"], 717, 461, [94, null]], [96, "seth", 585, 503, [93, 97, 98]], [97, ["number", 0], 684, 503, [96, null]], [98, "setpensize", 585, 545, [96, 99, 100]], [99, ["number", "150"], 687, 545, [98, null]], [100, "setshade", 585, 587, [98, 101, 102]], [101, ["number", 50], 670, 587, [100, null]], [102, "forward", 585, 629, [100, 103, 104]], [103, ["number", 1], 656, 629, [102, null]], [104, "back", 585, 671, [102, 105, 106]], [105, ["number", 1], 643, 671, [104, null]], [106, "setpensize", 585, 713, [104, 107, 108]], [107, ["number", "130"], 687, 713, [106, null]], [108, "setshade", 585, 755, [106, 109, 113]], [109, "box", 670, 755, [108, 110, null]], [110, ["string", "shade"], 725, 755, [109, null]], [111, "repeat", 314, 688, [147, 112, 152, 166]], [112, ["number", 3], 365, 688, [111, null]], [113, "forward", 585, 797, [108, 114, 115]], [114, ["number", 1], 656, 797, [113, null]], [115, "back", 585, 839, [113, 116, 117]], [116, ["number", 1], 643, 839, [115, null]], [117, "setpensize", 585, 881, [115, 118, 119]], [118, ["number", "90"], 687, 881, [117, null]], [119, "setshade", 585, 923, [117, 120, 121]], [120, ["number", 50], 670, 923, [119, null]], [121, "forward", 585, 965, [119, 122, 123]], [122, ["number", 1], 656, 965, [121, null]], [123, "back", 585, 1007, [121, 124, 125]], [124, ["number", 1], 643, 1007, [123, null]], [125, "setpensize", 585, 1049, [123, 126, 127]], [126, ["number", "70"], 687, 1049, [125, null]], [127, "setshade", 585, 1091, [125, 128, 129]], [128, ["number", 100], 670, 1091, [127, null]], [129, "forward", 585, 1133, [127, 130, 131]], [130, ["number", 1], 656, 1133, [129, null]], [131, "back", 585, 1175, [129, 132, 138]], [132, ["number", 1], 643, 1175, [131, null]], [133, "sandwichtop", 564, 258, [0, 134, 32]], [134, ["string", "shape X"], 667, 258, [133, null]], [135, ["sandwichcollapsed", 1], 582, 300, [13, null]], [136, "sandwichtop", 567, 419, [2, 137, 93]], [137, ["string", "shape O"], 670, 419, [136, null]], [138, ["sandwichcollapsed", 1], 585, 461, [131, null]], [139, "fillscreen", 42, 480, [268, 141, 140, 256]], [140, ["number", 100], 124, 522, [139, null]], [141, "box", 124, 480, [139, 142, null]], [142, ["string", "color"], 179, 480, [141, null]], [143, "hat", 314, 512, [null, 144, 145]], [144, ["string", "numberloop"], 372, 520, [143, null]], [145, "sandwichtop", 296, 562, [143, 146, 147]], [146, ["string", "number loop"], 399, 562, [145, null]], [147, "storein", 314, 604, [145, 148, 149, 111]], [148, ["string", "number"], 382, 604, [147, null]], [149, ["number", 1], 382, 646, [147, null]], [150, "hat", 582, 561, [null, 151, 196]], [151, ["string", "shape3"], 640, 569, [150, null]], [152, "stack", 379, 748, [111, 153, 209]], [153, ["string", "shadeloop"], 437, 748, [152, null]], [154, "repeat", 35, 838, [239, 155, 279, 167]], [155, "box", 86, 838, [154, 156, null]], [156, ["string", "number"], 141, 838, [155, null]], [157, "setxy", 299, 812, [296, 158, 159, null]], [158, ["number", -200], 357, 812, [157, null]], [159, ["number", 0], 357, 854, [157, null]], [160, "seth", 100, 1192, [283, 161, 164]], [161, ["number", 90], 199, 1192, [160, null]], [162, "forward", 100, 1268, [164, 163, 165]], [163, ["number", 200], 171, 1268, [162, null]], [164, "penup", 100, 1234, [160, 162]], [165, "pendown", 100, 1310, [162, null]], [166, ["sandwichcollapsed", 1], 314, 604, [111, null]], [167, "wait", 35, 916, [154, 168, 246]], [168, ["number", "0.2"], 93, 916, [167, null]], [169, "setcolor", 582, 653, [196, 170, 201]], [170, "box", 659, 653, [169, 171, null]], [171, ["string", "color"], 714, 653, [170, null]], [172, "seth", 582, 847, [199, 173, 174]], [173, ["number", 45], 681, 847, [172, null]], [174, "setpensize", 582, 889, [172, 175, 176]], [175, ["number", 40], 684, 889, [174, null]], [176, "setshade", 582, 931, [174, 177, 178]], [177, ["number", 50], 667, 931, [176, null]], [178, "repeat", 582, 973, [176, 179, 180, 195]], [179, ["number", 4], 633, 973, [178, null]], [180, "forward", 647, 1033, [178, 181, 182]], [181, ["number", "72"], 718, 1033, [180, null]], [182, "right", 647, 1075, [180, 183, null]], [183, ["number", 90], 705, 1075, [182, null]], [184, "setpensize", 582, 1125, [195, 185, 186]], [185, ["number", 20], 684, 1125, [184, null]], [186, "setshade", 582, 1167, [184, 187, 189]], [187, "box", 667, 1167, [186, 188, null]], [188, ["string", "shade"], 722, 1167, [187, null]], [189, "repeat", 582, 1209, [186, 190, 191, 198]], [190, ["number", 4], 633, 1209, [189, null]], [191, "forward", 647, 1269, [189, 192, 193]], [192, ["number", "72"], 718, 1269, [191, null]], [193, "right", 647, 1311, [191, 194, null]], [194, ["number", 90], 705, 1311, [193, null]], [195, ["vspace", 20], 582, 1051, [178, 184]], [196, "sandwichtop", 564, 611, [150, 197, 169]], [197, ["string", "shape <>"], 667, 611, [196, null]], [198, ["sandwichcollapsed", 1], 582, 653, [189, null]], [199, "pendown", 582, 813, [203, 172]], [200, "penup", 582, 737, [201, 203]], [201, "seth", 582, 695, [169, 202, 200]], [202, ["number", 270], 681, 695, [201, null]], [203, "forward", 582, 771, [200, 204, 199]], [204, ["number", 50], 653, 771, [203, null]], [205, "start", 34, 208, [null, 208]], [206, "stack", 34, 284, [208, 207, 305]], [207, ["string", "shapeloop"], 92, 284, [206, null]], [208, "hideblocks", 34, 250, [205, 206]], [209, "storein", 379, 790, [152, 210, 212, null]], [210, ["string", "number"], 447, 790, [209, null]], [211, ["number", 1], 501, 874, [212, null]], [212, "plus2", 447, 832, [209, 213, 211]], [213, "box", 501, 832, [212, 214, null]], [214, ["string", "number"], 556, 832, [213, null]], [215, "print", 37, 798, [241, 216, 243]], [216, "plus2", 95, 798, [215, 217, 222]], [217, "box", 149, 798, [216, 218, null]], [218, ["string", "shape"], 204, 798, [217, null]], [219, "box", 257, 882, [221, 220, null]], [220, ["string", "color"], 312, 882, [219, null]], [221, "plus2", 203, 882, [222, 219, 224]], [222, "plus2", 149, 840, [216, 223, 221]], [223, ["string", ", "], 203, 840, [222, null]], [224, "plus2", 257, 924, [221, 225, 226]], [225, ["string", ", "], 311, 924, [224, null]], [226, "plus2", 311, 966, [224, 227, 229]], [227, "box", 365, 966, [226, 228, null]], [228, ["string", "shade"], 420, 966, [227, null]], [229, "plus2", 365, 1008, [226, 230, 231]], [230, ["string", ", "], 419, 1008, [229, null]], [231, "box", 419, 1050, [229, 232, null]], [232, ["string", "number"], 474, 1050, [231, null]], [233, "hat", 35, 542, [null, 234, 244]], [234, ["string", "action"], 93, 550, [233, null]], [235, "stack", 396, 919, [41, 236, 47]], [236, ["string", "action"], 454, 919, [235, null]], [237, "hat", 37, 706, [null, 238, 241]], [238, ["string", "status"], 95, 714, [237, null]], [239, "stack", 35, 796, [297, 240, 154]], [240, ["string", "status"], 93, 796, [239, null]], [241, "sandwichtop", 19, 756, [237, 242, 215]], [242, ["string", "label"], 122, 756, [241, null]], [243, ["sandwichcollapsed", 1], 37, 798, [215, null]], [244, "sandwichtop", 17, 592, [233, 245, 273]], [245, ["string", "draw a card"], 120, 592, [244, null]], [246, ["sandwichcollapsed", 1], 35, 634, [167, null]], [247, "forward", 107, 834, [261, 248, 258]], [248, ["number", "300"], 178, 834, [247, null]], [249, "setxy", 42, 690, [252, 250, 251, 261]], [250, ["number", "-290"], 100, 690, [249, null]], [251, ["number", "-150"], 100, 732, [249, null]], [252, "seth", 42, 648, [254, 253, 249]], [253, ["number", 0], 141, 648, [252, null]], [254, "setpensize", 42, 606, [256, 255, 252]], [255, ["number", 5], 144, 606, [254, null]], [256, "setshade", 42, 564, [139, 257, 254]], [257, ["number", "25"], 127, 564, [256, null]], [258, "arc", 107, 876, [247, 259, 260, 263]], [259, ["number", 90], 165, 876, [258, null]], [260, ["number", "10"], 165, 918, [258, null]], [261, "repeat", 42, 774, [249, 262, 247, 270]], [262, ["number", "2"], 93, 774, [261, null]], [263, "forward", 107, 960, [258, 264, 265]], [264, ["number", "580"], 178, 960, [263, null]], [265, "arc", 107, 1002, [263, 266, 267, null]], [266, ["number", 90], 165, 1002, [265, null]], [267, ["number", "10"], 165, 1044, [265, null]], [268, "sandwichtop", 24, 438, [271, 269, 139]], [269, ["string", "card background"], 127, 438, [268, null]], [270, ["sandwichcollapsed", 1], 42, 480, [261, null]], [271, "hat", 42, 388, [null, 272, 268]], [272, ["string", "card"], 100, 396, [271, null]], [273, "stack", 35, 634, [244, 274, 286]], [274, ["string", "card"], 93, 634, [273, null]], [275, "xcor", 168, 940, [279, null]], [276, "ycor", 168, 1024, [281, null]], [277, "box", 158, 1108, [283, 278, null]], [278, ["string", "x"], 213, 1108, [277, null]], [279, "storein", 100, 898, [154, 280, 275, 281]], [280, ["string", "x"], 168, 898, [279, null]], [281, "storein", 100, 982, [279, 282, 276, 49]], [282, ["string", "y"], 168, 982, [281, null]], [283, "setxy", 100, 1108, [49, 277, 284, 160]], [284, "box", 158, 1150, [283, 285, null]], [285, ["string", "y"], 213, 1150, [284, null]], [286, "ifelse", 35, 676, [273, 289, 287, 296, 297]], [287, ["vspace", 0], 115, 744, [286, 293]], [288, ["vspace", 0], 247, 812, [296, 302]], [289, "equal2", 101, 642, [286, 291, 290, null]], [290, ["number", "1"], 147, 684, [289, null]], [291, "box", 147, 642, [289, 292, null]], [292, ["string", "number"], 202, 642, [291, null]], [293, "setxy", 115, 778, [287, 294, 295, null]], [294, ["number", 0], 173, 778, [293, null]], [295, ["number", 0], 173, 820, [293, null]], [296, "ifelse", 167, 744, [286, 298, 288, 157, null]], [297, ["vspace", 0], 35, 762, [286, 239]], [298, "equal2", 233, 710, [296, 300, 299, null]], [299, ["number", "2"], 279, 752, [298, null]], [300, "box", 279, 710, [298, 301, null]], [301, ["string", "number"], 334, 710, [300, null]], [302, "setxy", 247, 846, [288, 303, 304, null]], [303, ["number", "-100"], 305, 846, [302, null]], [304, ["number", 0], 305, 888, [302, null]], [305, "showblocks", 34, 326, [206, null]], [-1, ["turtle", 1], 400, 0, 90.0, 70.0, 100.0, 20.0]] \ No newline at end of file
diff --git a/samples/shades.ta b/samples/shades.ta
index fb1ae00..e9eb37f 100644
--- a/samples/shades.ta
+++ b/samples/shades.ta
@@ -1 +1 @@
-[[0, "start", 229, 27, [null, 1]], [1, "clean", 241, 77, [0, 2]], [2, "setcolor", 241, 116, [1, 3, 4]], [3, ["number", "50"], 315, 133, [2, null]], [4, "setpensize", 241, 170, [2, 5, 6]], [5, ["number", "15"], 315, 187, [4, null]], [6, "repeat", 241, 224, [4, 7, 8, null]], [7, ["number", 360], 327, 233, [6, null]], [8, "setshade", 336, 273, [6, 9, 15]], [9, "product2", 410, 266, [8, 10, 14]], [10, "identity2", 450, 238, [9, 11]], [11, "division2", 490, 221, [10, 12, 13]], [12, "heading", 530, 229, [11, null]], [13, ["number", 360], 549, 262, [11, null]], [14, ["number", 200], 450, 307, [9, null]], [15, "forward", 336, 327, [8, 16, 17]], [16, ["number", "1000"], 410, 336, [15, null]], [17, "back", 336, 366, [15, 18, 19]], [18, ["number", "1000"], 410, 375, [17, null]], [19, "right", 336, 405, [17, 20, null]], [20, ["number", 1], 410, 414, [19, null]], [-1, "turtle", 0.0, 0.0, 0.0, 50.0, 199.44444444444446, 15.0]] \ No newline at end of file
+[[0, "start", 171, 175, [null, 1]], [1, "clean", 171, 217, [0, 2]], [2, "setcolor", 171, 251, [1, 3, 4]], [3, ["number", 50], 248, 251, [2, null]], [4, "setpensize", 171, 293, [2, 5, 6]], [5, ["number", 15], 273, 293, [4, null]], [6, "repeat", 171, 335, [4, 7, 8, null]], [7, ["number", 360], 222, 335, [6, null]], [8, "setshade", 236, 395, [6, 9, 21]], [9, "product2", 321, 395, [8, 10, 14]], [10, ["identity2", 20], 375, 395, [9, 11]], [11, "division2", 469, 395, [10, 12, 13]], [12, "heading", 523, 395, [11, null]], [13, ["number", 360], 547, 441, [11, null]], [14, ["number", 200], 375, 437, [9, null]], [15, "forward", 236, 471, [21, 16, 17]], [16, ["number", 1000], 307, 471, [15, null]], [17, "back", 236, 513, [15, 18, 19]], [18, ["number", 1000], 294, 513, [17, null]], [19, "right", 236, 555, [17, 20, null]], [20, ["number", 1], 294, 555, [19, null]], [21, ["vspace", 0], 236, 437, [8, 15]], [-1, ["turtle", 1], 0, 0, 0.0, 50.0, 199.44444444444446, 15.0]] \ No newline at end of file
diff --git a/samples/shape-and-color-game.ta b/samples/shape-and-color-game.ta
index ec0a5a0..dc53769 100644
--- a/samples/shape-and-color-game.ta
+++ b/samples/shape-and-color-game.ta
@@ -1 +1 @@
-[[0, "hat", 28, 522, [null, 1, 2]], [1, ["string", "circle"], 49, 549, [0, null]], [2, "penup", 66, 592, [0, 3]], [3, "seth", 66, 631, [2, 4, 5]], [4, ["number", "270"], 140, 640, [3, null]], [5, "forward", 66, 670, [3, 6, 7]], [6, ["number", "56"], 140, 679, [5, null]], [7, "seth", 66, 709, [5, 8, 9]], [8, ["number", "0"], 140, 718, [7, null]], [9, "pendown", 66, 748, [7, 10]], [10, "arc", 66, 787, [9, 11, 12, null]], [11, ["number", "360"], 140, 796, [10, null]], [12, ["number", "56"], 140, 833, [10, null]], [13, "hat", 182, 520, [null, 14, 15]], [14, ["string", "square"], 203, 547, [13, null]], [15, "penup", 220, 590, [13, 16]], [16, "seth", 220, 629, [15, 17, 18]], [17, ["number", "0"], 294, 638, [16, null]], [18, "back", 220, 668, [16, 19, 20]], [19, ["number", "50"], 294, 677, [18, null]], [20, "seth", 220, 707, [18, 21, 22]], [21, ["number", "270"], 294, 716, [20, null]], [22, "forward", 220, 746, [20, 23, 24]], [23, ["number", "50"], 294, 755, [22, null]], [24, "seth", 220, 785, [22, 25, 26]], [25, ["number", "0"], 294, 794, [24, null]], [26, "pendown", 220, 824, [24, 27]], [27, "repeat", 220, 863, [26, 28, 29, null]], [28, ["number", "4"], 306, 872, [27, null]], [29, "forward", 315, 912, [27, 30, 31]], [30, ["number", "100"], 389, 921, [29, null]], [31, "right", 315, 951, [29, 32, null]], [32, ["number", "90"], 389, 960, [31, null]], [33, "hat", 341, 519, [null, 34, 35]], [34, ["string", "triangle"], 362, 546, [33, null]], [35, "penup", 379, 589, [33, 36]], [36, "seth", 379, 628, [35, 37, 38]], [37, ["number", "270"], 453, 637, [36, null]], [38, "forward", 379, 667, [36, 39, 40]], [39, ["number", "60"], 453, 676, [38, null]], [40, "seth", 379, 706, [38, 41, 42]], [41, ["number", "0"], 453, 715, [40, null]], [42, "back", 379, 745, [40, 43, 44]], [43, ["number", "50"], 453, 754, [42, null]], [44, "seth", 379, 784, [42, 45, 46]], [45, ["number", "30"], 453, 793, [44, null]], [46, "pendown", 379, 823, [44, 47]], [47, "repeat", 379, 862, [46, 48, 49, 53]], [48, ["number", "3"], 465, 871, [47, null]], [49, "forward", 474, 911, [47, 50, 51]], [50, ["number", "120"], 548, 920, [49, null]], [51, "right", 474, 950, [49, 52, null]], [52, ["number", "120"], 548, 959, [51, null]], [53, "seth", 379, 952, [47, 54, null]], [54, ["number", "0"], 453, 961, [53, null]], [55, "hat", 502, 514, [null, 56, 57]], [56, ["string", "star"], 523, 541, [55, null]], [57, "penup", 540, 584, [55, 58]], [58, "seth", 540, 623, [57, 59, 60]], [59, ["number", "0"], 614, 632, [58, null]], [60, "back", 540, 662, [58, 61, 62]], [61, ["number", "44"], 614, 671, [60, null]], [62, "seth", 540, 701, [60, 63, 64]], [63, ["number", "270"], 614, 710, [62, null]], [64, "forward", 540, 740, [62, 65, 66]], [65, ["number", "30"], 614, 749, [64, null]], [66, "seth", 540, 779, [64, 67, 68]], [67, ["number", "18"], 614, 788, [66, null]], [68, "pendown", 540, 818, [66, 69]], [69, "repeat", 540, 857, [68, 70, 71, 75]], [70, ["number", "5"], 626, 866, [69, null]], [71, "forward", 635, 906, [69, 72, 73]], [72, ["number", "100"], 709, 915, [71, null]], [73, "right", 635, 945, [71, 74, null]], [74, ["number", "144"], 709, 954, [73, null]], [75, "seth", 540, 947, [69, 76, null]], [76, ["number", "0"], 614, 956, [75, null]], [77, "hat", 660, 515, [null, 78, 79]], [78, ["string", "shapes"], 681, 542, [77, null]], [79, "setpensize", 698, 585, [77, 80, 81]], [80, ["number", "10"], 772, 602, [79, null]], [81, "setxy", 698, 639, [79, 82, 83, 84]], [82, ["number", "-100"], 772, 648, [81, null]], [83, ["number", "100"], 772, 685, [81, null]], [84, "setcolor", 698, 715, [81, 85, 86]], [85, "pop", 772, 732, [84, null]], [86, "stack", 698, 769, [84, 87, 88]], [87, "pop", 710, 780, [86, null]], [88, "setxy", 698, 808, [86, 89, 90, 91]], [89, ["number", "100"], 772, 817, [88, null]], [90, ["number", "100"], 772, 854, [88, null]], [91, "setcolor", 698, 884, [88, 92, 93]], [92, "pop", 772, 901, [91, null]], [93, "stack", 698, 938, [91, 94, 95]], [94, "pop", 710, 949, [93, null]], [95, "setxy", 698, 977, [93, 96, 97, 98]], [96, ["number", "100"], 772, 986, [95, null]], [97, ["number", "-100"], 772, 1023, [95, null]], [98, "setcolor", 698, 1053, [95, 99, 100]], [99, "pop", 772, 1070, [98, null]], [100, "stack", 698, 1107, [98, 101, 102]], [101, "pop", 710, 1118, [100, null]], [102, "setxy", 698, 1146, [100, 103, 104, 105]], [103, ["number", "-100"], 772, 1155, [102, null]], [104, ["number", "-100"], 772, 1192, [102, null]], [105, "setcolor", 698, 1222, [102, 106, 107]], [106, "pop", 772, 1239, [105, null]], [107, "stack", 698, 1276, [105, 108, 109]], [108, "pop", 710, 1287, [107, null]], [109, "setxy", 698, 1315, [107, 110, 111, null]], [110, ["number", "0"], 772, 1324, [109, null]], [111, ["number", "0"], 772, 1361, [109, null]], [112, "hat", 840, 514, [null, 113, 114]], [113, ["string", "calculate distance"], 861, 541, [112, null]], [114, "storein", 878, 584, [112, 115, 116, 120]], [115, ["string", "dx"], 890, 611, [114, null]], [116, "minus2", 1008, 578, [114, 117, 119]], [117, "box", 1048, 581, [116, 118, null]], [118, ["string", "x"], 1066, 586, [117, null]], [119, "xcor", 1067, 619, [116, null]], [120, "storein", 878, 638, [114, 121, 122, 126]], [121, ["string", "dy"], 890, 665, [120, null]], [122, "minus2", 1008, 632, [120, 123, 125]], [123, "box", 1048, 635, [122, 124, null]], [124, ["string", "y"], 1066, 640, [123, null]], [125, "ycor", 1067, 673, [122, null]], [126, "storein", 878, 692, [120, 127, 128, null]], [127, ["string", "distance"], 890, 719, [126, null]], [128, "sqrt", 1008, 702, [126, 129]], [129, "plus2", 1050, 686, [128, 130, 136]], [130, "identity2", 1090, 658, [129, 131]], [131, "product2", 1130, 641, [130, 132, 134]], [132, "box", 1170, 644, [131, 133, null]], [133, ["string", "dx"], 1188, 649, [132, null]], [134, "box", 1170, 677, [131, 135, null]], [135, ["string", "dx"], 1188, 682, [134, null]], [136, "identity", 1090, 727, [129, 137]], [137, "product2", 1130, 731, [136, 138, 140]], [138, "box", 1170, 734, [137, 139, null]], [139, ["string", "dy"], 1188, 739, [138, null]], [140, "box", 1170, 767, [137, 141, null]], [141, ["string", "dy"], 1188, 772, [140, null]], [142, "hat", 145, 17, [null, 143, 144]], [143, ["string", "q1"], 166, 44, [142, null]], [144, "storein", 183, 87, [142, 145, 146, 147]], [145, ["string", "x"], 195, 114, [144, null]], [146, ["number", "100"], 313, 105, [144, null]], [147, "storein", 183, 141, [144, 148, 149, 150]], [148, ["string", "y"], 195, 168, [147, null]], [149, ["number", "100"], 313, 159, [147, null]], [150, "push", 183, 195, [147, 163, 151]], [151, "stack", 183, 234, [150, 152, null]], [152, ["string", "ask"], 195, 246, [151, null]], [153, "hat", 371, 11, [null, 161, 154]], [154, "storein", 409, 81, [153, 155, 165, 156]], [155, ["string", "x"], 421, 108, [154, null]], [156, "storein", 409, 135, [154, 157, 164, 158]], [157, ["string", "y"], 421, 162, [156, null]], [158, "push", 409, 189, [156, 162, 159]], [159, "stack", 409, 228, [158, 160, null]], [160, ["string", "ask"], 421, 240, [159, null]], [161, ["string", "q2"], 392, 38, [153, null]], [162, ["string", "Put the turtle in the red square."], 483, 199, [158, null]], [163, ["string", "Put the turtle in the blue triangle."], 257, 205, [150, null]], [164, ["number", "100"], 539, 153, [156, null]], [165, ["number", "-100"], 539, 99, [154, null]], [166, "hat", 143, 290, [null, 167, 168]], [167, ["string", "q3"], 164, 317, [166, null]], [168, "storein", 181, 360, [166, 169, 188, 170]], [169, ["string", "x"], 193, 387, [168, null]], [170, "storein", 181, 414, [168, 171, 172, 173]], [171, ["string", "y"], 193, 441, [170, null]], [172, ["number", "-100"], 311, 432, [170, null]], [173, "push", 181, 468, [170, 187, 174]], [174, "stack", 181, 507, [173, 175, null]], [175, ["string", "ask"], 193, 519, [174, null]], [176, "hat", 411, 283, [null, 177, 178]], [177, ["string", "fini"], 432, 310, [176, null]], [178, "storein", 449, 353, [176, 181, 179, 180]], [179, ["number", "0"], 579, 371, [178, null]], [180, "storein", 449, 407, [178, 182, 183, 184]], [181, ["string", "x"], 461, 380, [178, null]], [182, ["string", "y"], 461, 434, [180, null]], [183, ["number", "0"], 579, 425, [180, null]], [184, "push", 449, 461, [180, 189, 185]], [185, "stack", 449, 500, [184, 186, null]], [186, ["string", "ask"], 461, 512, [185, null]], [187, ["string", "Put the turtle in the red circle."], 255, 478, [173, null]], [188, ["number", "-100"], 311, 378, [168, null]], [189, ["string", "Well played!"], 523, 471, [184, null]], [190, "start", 601, 10, [null, 191]], [191, "storein", 613, 60, [190, 192, 193, 194]], [192, ["string", "blue"], 625, 87, [191, null]], [193, ["number", "70"], 743, 78, [191, null]], [194, "storein", 613, 114, [191, 195, 196, 197]], [195, ["string", "red"], 625, 141, [194, null]], [196, ["number", "0"], 743, 132, [194, null]], [197, "storein", 613, 168, [194, 198, 199, 200]], [198, ["string", "green"], 625, 195, [197, null]], [199, ["number", "30"], 743, 186, [197, null]], [200, "hideblocks", 613, 222, [197, 201]], [201, "stack", 613, 276, [200, 202, 203]], [202, ["string", "pattern a"], 625, 288, [201, null]], [203, "stack", 613, 315, [201, 204, 205]], [204, ["string", "q1"], 625, 327, [203, null]], [205, "stack", 613, 354, [203, 233, 206]], [206, "stack", 613, 393, [205, 207, 208]], [207, ["string", "q2"], 625, 405, [206, null]], [208, "stack", 613, 432, [206, 232, 209]], [209, "stack", 613, 471, [208, 210, 211]], [210, ["string", "q3"], 625, 483, [209, null]], [211, "stack", 613, 510, [209, 212, null]], [212, ["string", "fini"], 625, 522, [211, null]], [213, "hat", 1470, 5, [null, 214, 215]], [214, ["string", "answer"], 1491, 32, [213, null]], [215, "setxy", 1508, 75, [213, 216, 217, 218]], [216, ["number", "0"], 1582, 84, [215, null]], [217, ["number", "0"], 1582, 121, [215, null]], [218, "forever", 1508, 151, [215, 219, null]], [219, "stack", 1589, 165, [218, 220, 221]], [220, ["string", "calculate distance"], 1601, 177, [219, null]], [221, "if", 1589, 204, [219, 222, 226, 230]], [222, "less", 1669, 214, [221, 223, 225, null]], [223, "box", 1701, 218, [222, 224, null]], [224, ["string", "distance"], 1719, 223, [223, null]], [225, ["number", 100], 1850, 223, [222, null]], [226, "setxy", 1684, 278, [221, 227, 228, 229]], [227, ["number", "0"], 1758, 287, [226, null]], [228, ["number", "0"], 1758, 324, [226, null]], [229, "stopstack", 1684, 354, [226, null]], [230, "wait", 1589, 319, [221, 231, null]], [231, ["number", "1"], 1663, 328, [230, null]], [232, ["string", "pattern c"], 625, 444, [208, null]], [233, ["string", "pattern b"], 625, 366, [205, null]], [234, "hat", 815, 1, [null, 235, 236]], [235, ["string", "pattern a"], 836, 28, [234, null]], [236, "clean", 853, 71, [234, 237]], [237, "push", 853, 110, [236, 238, 239]], [238, ["string", "square"], 927, 120, [237, null]], [239, "push", 853, 149, [237, 240, 242]], [240, "box", 927, 153, [239, 241, null]], [241, ["string", "blue"], 945, 158, [240, null]], [242, "push", 853, 188, [239, 243, 244]], [243, ["string", "circle"], 927, 198, [242, null]], [244, "push", 853, 227, [242, 245, 247]], [245, "box", 927, 231, [244, 246, null]], [246, ["string", "green"], 945, 236, [245, null]], [247, "push", 853, 266, [244, 248, 249]], [248, ["string", "triangle"], 927, 276, [247, null]], [249, "push", 853, 305, [247, 250, 252]], [250, "box", 927, 309, [249, 251, null]], [251, ["string", "blue"], 945, 314, [250, null]], [252, "push", 853, 344, [249, 253, 254]], [253, ["string", "square"], 927, 354, [252, null]], [254, "push", 853, 383, [252, 255, 257]], [255, "box", 927, 387, [254, 256, null]], [256, ["string", "red"], 945, 392, [255, null]], [257, "stack", 853, 422, [254, 258, null]], [258, ["string", "shapes"], 865, 434, [257, null]], [259, "hat", 998, 2, [null, 260, 261]], [260, ["string", "pattern b"], 1019, 29, [259, null]], [261, "clean", 1036, 72, [259, 262]], [262, "push", 1036, 111, [261, 263, 264]], [263, ["string", "triangle"], 1110, 121, [262, null]], [264, "push", 1036, 150, [262, 265, 267]], [265, "box", 1110, 154, [264, 266, null]], [266, ["string", "red"], 1128, 159, [265, null]], [267, "push", 1036, 189, [264, 268, 269]], [268, ["string", "circle"], 1110, 199, [267, null]], [269, "push", 1036, 228, [267, 270, 272]], [270, "box", 1110, 232, [269, 271, null]], [271, ["string", "green"], 1128, 237, [270, null]], [272, "push", 1036, 267, [269, 273, 274]], [273, ["string", "square"], 1110, 277, [272, null]], [274, "push", 1036, 306, [272, 275, 277]], [275, "box", 1110, 310, [274, 276, null]], [276, ["string", "green"], 1128, 315, [275, null]], [277, "push", 1036, 345, [274, 278, 279]], [278, ["string", "square"], 1110, 355, [277, null]], [279, "push", 1036, 384, [277, 280, 282]], [280, "box", 1110, 388, [279, 281, null]], [281, ["string", "red"], 1128, 393, [280, null]], [282, "stack", 1036, 423, [279, 283, null]], [283, ["string", "shapes"], 1048, 435, [282, null]], [284, "hat", 1176, 5, [null, 285, 286]], [285, ["string", "pattern c"], 1197, 32, [284, null]], [286, "clean", 1214, 75, [284, 287]], [287, "push", 1214, 114, [286, 288, 289]], [288, ["string", "circle"], 1288, 124, [287, null]], [289, "push", 1214, 153, [287, 290, 292]], [290, "box", 1288, 157, [289, 291, null]], [291, ["string", "red"], 1306, 162, [290, null]], [292, "push", 1214, 192, [289, 293, 294]], [293, ["string", "circle"], 1288, 202, [292, null]], [294, "push", 1214, 231, [292, 295, 297]], [295, "box", 1288, 235, [294, 296, null]], [296, ["string", "green"], 1306, 240, [295, null]], [297, "push", 1214, 270, [294, 298, 299]], [298, ["string", "square"], 1288, 280, [297, null]], [299, "push", 1214, 309, [297, 300, 302]], [300, "box", 1288, 313, [299, 301, null]], [301, ["string", "blue"], 1306, 318, [300, null]], [302, "push", 1214, 348, [299, 303, 304]], [303, ["string", "triangle"], 1288, 358, [302, null]], [304, "push", 1214, 387, [302, 305, 307]], [305, "box", 1288, 391, [304, 306, null]], [306, ["string", "red"], 1306, 396, [305, null]], [307, "stack", 1214, 426, [304, 308, null]], [308, ["string", "shapes"], 1226, 438, [307, null]], [309, "hat", 1328, 5, [null, 310, 311]], [310, ["string", "ask"], 1349, 32, [309, null]], [311, "setxy", 1366, 75, [309, 312, 313, 314]], [312, ["number", "-300"], 1440, 84, [311, null]], [313, ["number", "300"], 1440, 121, [311, null]], [314, "seth", 1366, 151, [311, 315, 316]], [315, ["number", "90"], 1440, 160, [314, null]], [316, "setcolor", 1366, 190, [314, 317, 318]], [317, ["number", "0"], 1440, 207, [316, null]], [318, "setshade", 1366, 244, [316, 319, 320]], [319, ["number", "100"], 1440, 261, [318, null]], [320, "setpensize", 1366, 298, [318, 321, 322]], [321, ["number", "120"], 1440, 315, [320, null]], [322, "forward", 1366, 352, [320, 323, 324]], [323, ["number", "700"], 1440, 361, [322, null]], [324, "back", 1366, 391, [322, 325, 326]], [325, ["number", "700"], 1440, 400, [324, null]], [326, "setshade", 1366, 430, [324, 327, 328]], [327, ["number", "50"], 1440, 447, [326, null]], [328, "seth", 1366, 484, [326, 329, 330]], [329, ["number", "0"], 1440, 493, [328, null]], [330, "setxy", 1366, 523, [328, 331, 332, 333]], [331, ["number", "-300"], 1440, 532, [330, null]], [332, ["number", "300"], 1440, 569, [330, null]], [333, "settextsize", 1366, 599, [330, 334, 335]], [334, ["number", "24"], 1440, 616, [333, null]], [335, "show", 1366, 653, [333, 336, 337]], [336, "pop", 1440, 662, [335, null]], [337, "stack", 1366, 692, [335, 338, null]], [338, ["string", "answer"], 1378, 704, [337, null]], [-1, "turtle", 0.0, 0.0, 0.0, 0.0, 50.0, 120.0]] \ No newline at end of file
+[[0, "hat", 466, 464, [null, 1, 342]], [1, ["string", "circle"], 524, 472, [0, null]], [2, "penup", 466, 556, [342, 3]], [3, "seth", 466, 590, [2, 4, 5]], [4, ["number", 270], 565, 590, [3, null]], [5, "forward", 466, 632, [3, 6, 7]], [6, ["number", 56], 537, 632, [5, null]], [7, "seth", 466, 674, [5, 8, 9]], [8, ["number", 0], 565, 674, [7, null]], [9, "pendown", 466, 716, [7, 10]], [10, "arc", 466, 750, [9, 11, 12, 344]], [11, ["number", 360], 524, 750, [10, null]], [12, ["number", 56], 524, 792, [10, null]], [13, "hat", 468, 175, [null, 14, 380]], [14, ["string", "square"], 526, 183, [13, null]], [15, "penup", 468, 267, [380, 16]], [16, "seth", 468, 301, [15, 17, 18]], [17, ["number", 0], 567, 301, [16, null]], [18, "back", 468, 343, [16, 19, 20]], [19, ["number", 50], 526, 343, [18, null]], [20, "seth", 468, 385, [18, 21, 22]], [21, ["number", 270], 567, 385, [20, null]], [22, "forward", 468, 427, [20, 23, 24]], [23, ["number", 50], 539, 427, [22, null]], [24, "seth", 468, 469, [22, 25, 26]], [25, ["number", 0], 567, 469, [24, null]], [26, "pendown", 468, 511, [24, 27]], [27, "repeat", 468, 545, [26, 28, 29, 382]], [28, ["number", 4], 519, 545, [27, null]], [29, "forward", 533, 605, [27, 30, 31]], [30, ["number", 100], 604, 605, [29, null]], [31, "right", 533, 647, [29, 32, null]], [32, ["number", 90], 591, 647, [31, null]], [33, "hat", 471, 319, [null, 34, 376]], [34, ["string", "triangle"], 529, 327, [33, null]], [35, "penup", 471, 411, [376, 36]], [36, "seth", 471, 445, [35, 37, 38]], [37, ["number", 270], 570, 445, [36, null]], [38, "forward", 471, 487, [36, 39, 40]], [39, ["number", 60], 542, 487, [38, null]], [40, "seth", 471, 529, [38, 41, 42]], [41, ["number", 0], 570, 529, [40, null]], [42, "back", 471, 571, [40, 43, 44]], [43, ["number", 50], 529, 571, [42, null]], [44, "seth", 471, 613, [42, 45, 46]], [45, ["number", 30], 570, 613, [44, null]], [46, "pendown", 471, 655, [44, 47]], [47, "repeat", 471, 689, [46, 48, 49, 379]], [48, ["number", 3], 522, 689, [47, null]], [49, "forward", 536, 749, [47, 50, 51]], [50, ["number", 120], 607, 749, [49, null]], [51, "right", 536, 791, [49, 52, null]], [52, ["number", 120], 594, 791, [51, null]], [53, "seth", 471, 841, [379, 54, 378]], [54, ["number", 0], 570, 841, [53, null]], [55, "hat", 468, 604, [null, 56, 373]], [56, ["string", "star"], 526, 612, [55, null]], [57, "penup", 468, 696, [373, 58]], [58, "seth", 468, 730, [57, 59, 60]], [59, ["number", 0], 567, 730, [58, null]], [60, "back", 468, 772, [58, 61, 62]], [61, ["number", 44], 526, 772, [60, null]], [62, "seth", 468, 814, [60, 63, 64]], [63, ["number", 270], 567, 814, [62, null]], [64, "forward", 468, 856, [62, 65, 66]], [65, ["number", 30], 539, 856, [64, null]], [66, "seth", 468, 898, [64, 67, 68]], [67, ["number", 18], 567, 898, [66, null]], [68, "pendown", 468, 940, [66, 69]], [69, "repeat", 468, 974, [68, 70, 71, 372]], [70, ["number", 5], 519, 974, [69, null]], [71, "forward", 533, 1034, [69, 72, 73]], [72, ["number", 100], 604, 1034, [71, null]], [73, "right", 533, 1076, [71, 74, null]], [74, ["number", 144], 591, 1076, [73, null]], [75, "seth", 468, 1126, [372, 76, 375]], [76, ["number", 0], 567, 1126, [75, null]], [77, "hat", 1089, 69, [null, 78, 366]], [78, ["string", "shapes"], 1147, 77, [77, null]], [79, "setpensize", 1089, 161, [366, 80, 81]], [80, ["number", 10], 1191, 161, [79, null]], [81, "setxy", 1089, 203, [79, 82, 83, 84]], [82, ["number", -100], 1147, 203, [81, null]], [83, ["number", 100], 1147, 245, [81, null]], [84, "setcolor", 1089, 287, [81, 85, 86]], [85, "pop", 1166, 287, [84, null]], [86, "stack", 1089, 329, [84, 87, 88]], [87, "pop", 1147, 329, [86, null]], [88, "setxy", 1089, 371, [86, 89, 90, 91]], [89, ["number", 100], 1147, 371, [88, null]], [90, ["number", 100], 1147, 413, [88, null]], [91, "setcolor", 1089, 455, [88, 92, 93]], [92, "pop", 1166, 455, [91, null]], [93, "stack", 1089, 497, [91, 94, 95]], [94, "pop", 1147, 497, [93, null]], [95, "setxy", 1089, 539, [93, 96, 97, 98]], [96, ["number", 100], 1147, 539, [95, null]], [97, ["number", -100], 1147, 581, [95, null]], [98, "setcolor", 1089, 623, [95, 99, 100]], [99, "pop", 1166, 623, [98, null]], [100, "stack", 1089, 665, [98, 101, 102]], [101, "pop", 1147, 665, [100, null]], [102, "setxy", 1089, 707, [100, 103, 104, 105]], [103, ["number", -100], 1147, 707, [102, null]], [104, ["number", -100], 1147, 749, [102, null]], [105, "setcolor", 1089, 791, [102, 106, 107]], [106, "pop", 1166, 791, [105, null]], [107, "stack", 1089, 833, [105, 108, 109]], [108, "pop", 1147, 833, [107, null]], [109, "setxy", 1089, 875, [107, 110, 111, 368]], [110, ["number", 0], 1147, 875, [109, null]], [111, ["number", 0], 1147, 917, [109, null]], [112, "hat", 784, 538, [null, 113, 339]], [113, ["string", "calculate distance"], 842, 546, [112, null]], [114, "storein", 784, 630, [339, 115, 116, 120]], [115, ["string", "dx"], 852, 630, [114, null]], [116, "minus2", 852, 672, [114, 117, 119]], [117, "box", 906, 672, [116, 118, null]], [118, ["string", "x"], 961, 672, [117, null]], [119, "xcor", 930, 718, [116, null]], [120, "storein", 784, 714, [114, 121, 122, 126]], [121, ["string", "dy"], 852, 714, [120, null]], [122, "minus2", 852, 756, [120, 123, 125]], [123, "box", 906, 756, [122, 124, null]], [124, ["string", "y"], 961, 756, [123, null]], [125, "ycor", 930, 802, [122, null]], [126, "storein", 784, 798, [120, 127, 128, 341]], [127, ["string", "distance"], 852, 798, [126, null]], [128, "sqrt", 852, 840, [126, 129]], [129, "plus2", 906, 840, [128, 130, 136]], [130, ["identity2", 0], 960, 840, [129, 131]], [131, "product2", 1014, 840, [130, 132, 134]], [132, "box", 1068, 840, [131, 133, null]], [133, ["string", "dx"], 1123, 840, [132, null]], [134, "box", 1068, 882, [131, 135, null]], [135, ["string", "dx"], 1123, 882, [134, null]], [136, ["identity2", 0], 960, 882, [129, 137]], [137, "product2", 1014, 882, [136, 138, 140]], [138, "box", 1068, 882, [137, 139, null]], [139, ["string", "dy"], 1123, 882, [138, null]], [140, "box", 1068, 924, [137, 141, null]], [141, ["string", "dy"], 1123, 924, [140, null]], [142, "hat", 190, 175, [null, 143, 383]], [143, ["string", "q1"], 248, 183, [142, null]], [144, "storein", 190, 267, [383, 145, 146, 147]], [145, ["string", "x"], 258, 267, [144, null]], [146, ["number", 100], 258, 309, [144, null]], [147, "storein", 190, 351, [144, 148, 149, 150]], [148, ["string", "y"], 258, 351, [147, null]], [149, ["number", 100], 258, 393, [147, null]], [150, "push", 190, 435, [147, 163, 151]], [151, "stack", 190, 477, [150, 152, 385]], [152, ["string", "ask"], 248, 477, [151, null]], [153, "hat", 194, 315, [null, 161, 386]], [154, "storein", 194, 407, [386, 155, 165, 156]], [155, ["string", "x"], 262, 407, [154, null]], [156, "storein", 194, 491, [154, 157, 164, 158]], [157, ["string", "y"], 262, 491, [156, null]], [158, "push", 194, 575, [156, 162, 159]], [159, "stack", 194, 617, [158, 160, 388]], [160, ["string", "ask"], 252, 617, [159, null]], [161, ["string", "q2"], 252, 323, [153, null]], [162, ["string", "Put the turtle in the red square."], 252, 575, [158, null]], [163, ["string", "Put the turtle in the blue triangle."], 248, 435, [150, null]], [164, ["number", 100], 262, 533, [156, null]], [165, ["number", -100], 262, 449, [154, null]], [166, "hat", 196, 455, [null, 167, 389]], [167, ["string", "q3"], 254, 463, [166, null]], [168, "storein", 196, 547, [389, 169, 188, 170]], [169, ["string", "x"], 264, 547, [168, null]], [170, "storein", 196, 631, [168, 171, 172, 173]], [171, ["string", "y"], 264, 631, [170, null]], [172, ["number", -100], 264, 673, [170, null]], [173, "push", 196, 715, [170, 187, 174]], [174, "stack", 196, 757, [173, 175, 391]], [175, ["string", "ask"], 254, 757, [174, null]], [176, "hat", 192, 598, [null, 177, 369]], [177, ["string", "fini"], 250, 606, [176, null]], [178, "storein", 192, 690, [369, 181, 179, 180]], [179, ["number", 0], 260, 732, [178, null]], [180, "storein", 192, 774, [178, 182, 183, 184]], [181, ["string", "x"], 260, 690, [178, null]], [182, ["string", "y"], 260, 774, [180, null]], [183, ["number", 0], 260, 816, [180, null]], [184, "push", 192, 858, [180, 189, 185]], [185, "stack", 192, 900, [184, 186, 371]], [186, ["string", "ask"], 250, 900, [185, null]], [187, ["string", "Put the turtle in the red circle."], 254, 715, [173, null]], [188, ["number", -100], 264, 589, [168, null]], [189, ["string", "Well played!"], 250, 858, [184, null]], [190, "start", 770, 67, [null, 362]], [191, "storein", 770, 151, [362, 192, 193, 194]], [192, ["string", "blue"], 838, 151, [191, null]], [193, ["number", 70], 838, 193, [191, null]], [194, "storein", 770, 235, [191, 195, 196, 197]], [195, ["string", "red"], 838, 235, [194, null]], [196, ["number", 0], 838, 277, [194, null]], [197, "storein", 770, 319, [194, 198, 199, 200]], [198, ["string", "green"], 838, 319, [197, null]], [199, ["number", 30], 838, 361, [197, null]], [200, "hideblocks", 770, 403, [197, 201]], [201, "stack", 770, 437, [200, 202, 203]], [202, ["string", "pattern a"], 828, 437, [201, null]], [203, "stack", 770, 479, [201, 204, 205]], [204, ["string", "q1"], 828, 479, [203, null]], [205, "stack", 770, 521, [203, 233, 206]], [206, "stack", 770, 563, [205, 207, 208]], [207, ["string", "q2"], 828, 563, [206, null]], [208, "stack", 770, 605, [206, 232, 209]], [209, "stack", 770, 647, [208, 210, 211]], [210, ["string", "q3"], 828, 647, [209, null]], [211, "stack", 770, 689, [209, 212, 364]], [212, ["string", "fini"], 828, 689, [211, null]], [213, "hat", 781, 386, [null, 214, 345]], [214, ["string", "answer"], 839, 394, [213, null]], [215, "setxy", 781, 478, [345, 216, 217, 218]], [216, ["number", 0], 839, 478, [215, null]], [217, ["number", 0], 839, 520, [215, null]], [218, "forever", 781, 562, [215, 219, 347]], [219, "stack", 842, 580, [218, 220, 348]], [220, ["string", "calculate distance"], 900, 580, [219, null]], [221, "if", 842, 656, [348, 222, 226, 349]], [222, "less2", 880, 622, [221, 223, 225, null]], [223, "box", 926, 622, [222, 224, null]], [224, ["string", "distance"], 981, 622, [223, null]], [225, ["number", 100], 926, 664, [222, null]], [226, "setxy", 894, 724, [221, 227, 228, 229]], [227, ["number", 0], 952, 724, [226, null]], [228, ["number", 0], 952, 766, [226, null]], [229, "stopstack", 894, 808, [226, null]], [230, "wait", 842, 856, [349, 231, null]], [231, ["number", 1], 900, 856, [230, null]], [232, ["string", "pattern c"], 828, 605, [208, null]], [233, ["string", "pattern b"], 828, 521, [205, null]], [234, "hat", 1103, 221, [null, 235, 359]], [235, ["string", "pattern a"], 1161, 229, [234, null]], [236, "clean", 1103, 313, [359, 237]], [237, "push", 1103, 347, [236, 238, 239]], [238, ["string", "square"], 1161, 347, [237, null]], [239, "push", 1103, 389, [237, 240, 242]], [240, "box", 1161, 389, [239, 241, null]], [241, ["string", "blue"], 1216, 389, [240, null]], [242, "push", 1103, 431, [239, 243, 244]], [243, ["string", "circle"], 1161, 431, [242, null]], [244, "push", 1103, 473, [242, 245, 247]], [245, "box", 1161, 473, [244, 246, null]], [246, ["string", "green"], 1216, 473, [245, null]], [247, "push", 1103, 515, [244, 248, 249]], [248, ["string", "triangle"], 1161, 515, [247, null]], [249, "push", 1103, 557, [247, 250, 252]], [250, "box", 1161, 557, [249, 251, null]], [251, ["string", "blue"], 1216, 557, [250, null]], [252, "push", 1103, 599, [249, 253, 254]], [253, ["string", "square"], 1161, 599, [252, null]], [254, "push", 1103, 641, [252, 255, 257]], [255, "box", 1161, 641, [254, 256, null]], [256, ["string", "red"], 1216, 641, [255, null]], [257, "stack", 1103, 683, [254, 258, 361]], [258, ["string", "shapes"], 1161, 683, [257, null]], [259, "hat", 1121, 366, [null, 260, 356]], [260, ["string", "pattern b"], 1179, 374, [259, null]], [261, "clean", 1121, 458, [356, 262]], [262, "push", 1121, 492, [261, 263, 264]], [263, ["string", "triangle"], 1179, 492, [262, null]], [264, "push", 1121, 534, [262, 265, 267]], [265, "box", 1179, 534, [264, 266, null]], [266, ["string", "red"], 1234, 534, [265, null]], [267, "push", 1121, 576, [264, 268, 269]], [268, ["string", "circle"], 1179, 576, [267, null]], [269, "push", 1121, 618, [267, 270, 272]], [270, "box", 1179, 618, [269, 271, null]], [271, ["string", "green"], 1234, 618, [270, null]], [272, "push", 1121, 660, [269, 273, 274]], [273, ["string", "square"], 1179, 660, [272, null]], [274, "push", 1121, 702, [272, 275, 277]], [275, "box", 1179, 702, [274, 276, null]], [276, ["string", "green"], 1234, 702, [275, null]], [277, "push", 1121, 744, [274, 278, 279]], [278, ["string", "square"], 1179, 744, [277, null]], [279, "push", 1121, 786, [277, 280, 282]], [280, "box", 1179, 786, [279, 281, null]], [281, ["string", "red"], 1234, 786, [280, null]], [282, "stack", 1121, 828, [279, 283, 358]], [283, ["string", "shapes"], 1179, 828, [282, null]], [284, "hat", 1134, 522, [null, 285, 353]], [285, ["string", "pattern c"], 1192, 530, [284, null]], [286, "clean", 1134, 614, [353, 287]], [287, "push", 1134, 648, [286, 288, 289]], [288, ["string", "circle"], 1192, 648, [287, null]], [289, "push", 1134, 690, [287, 290, 292]], [290, "box", 1192, 690, [289, 291, null]], [291, ["string", "red"], 1247, 690, [290, null]], [292, "push", 1134, 732, [289, 293, 294]], [293, ["string", "circle"], 1192, 732, [292, null]], [294, "push", 1134, 774, [292, 295, 297]], [295, "box", 1192, 774, [294, 296, null]], [296, ["string", "green"], 1247, 774, [295, null]], [297, "push", 1134, 816, [294, 298, 299]], [298, ["string", "square"], 1192, 816, [297, null]], [299, "push", 1134, 858, [297, 300, 302]], [300, "box", 1192, 858, [299, 301, null]], [301, ["string", "blue"], 1247, 858, [300, null]], [302, "push", 1134, 900, [299, 303, 304]], [303, ["string", "triangle"], 1192, 900, [302, null]], [304, "push", 1134, 942, [302, 305, 307]], [305, "box", 1192, 942, [304, 306, null]], [306, ["string", "red"], 1247, 942, [305, null]], [307, "stack", 1134, 984, [304, 308, 355]], [308, ["string", "shapes"], 1192, 984, [307, null]], [309, "hat", 776, 222, [null, 310, 350]], [310, ["string", "ask"], 834, 230, [309, null]], [311, "setxy", 776, 314, [350, 312, 313, 314]], [312, ["number", -300], 834, 314, [311, null]], [313, ["number", 300], 834, 356, [311, null]], [314, "seth", 776, 398, [311, 315, 316]], [315, ["number", 90], 875, 398, [314, null]], [316, "setcolor", 776, 440, [314, 317, 318]], [317, ["number", 0], 853, 440, [316, null]], [318, "setshade", 776, 482, [316, 319, 320]], [319, ["number", 100], 861, 482, [318, null]], [320, "setpensize", 776, 524, [318, 321, 322]], [321, ["number", 120], 878, 524, [320, null]], [322, "forward", 776, 566, [320, 323, 324]], [323, ["number", 700], 847, 566, [322, null]], [324, "back", 776, 608, [322, 325, 326]], [325, ["number", 700], 834, 608, [324, null]], [326, "setshade", 776, 650, [324, 327, 328]], [327, ["number", 50], 861, 650, [326, null]], [328, "seth", 776, 692, [326, 329, 330]], [329, ["number", 0], 875, 692, [328, null]], [330, "setxy", 776, 734, [328, 331, 332, 333]], [331, ["number", -300], 834, 734, [330, null]], [332, ["number", 300], 834, 776, [330, null]], [333, "settextsize", 776, 818, [330, 334, 335]], [334, ["number", 24], 880, 818, [333, null]], [335, "show", 776, 860, [333, 336, 337]], [336, "pop", 834, 860, [335, null]], [337, "stack", 776, 902, [335, 338, 352]], [338, ["string", "answer"], 834, 902, [337, null]], [339, "sandwichtop", 766, 588, [112, 340, 114]], [340, ["string", "sqrt(dx*dx+dy*dy)"], 869, 588, [339, null]], [341, ["sandwichcollapsed", 1], 784, 630, [126, null]], [342, "sandwichtop", 448, 514, [0, 343, 2]], [343, ["string", "draw a circle"], 551, 514, [342, null]], [344, ["sandwichcollapsed", 1], 466, 556, [10, null]], [345, "sandwichtop", 763, 436, [213, 346, 215]], [346, ["string", "move the turtle to the answer"], 866, 436, [345, null]], [347, ["sandwichcollapsed", 1], 781, 478, [218, null]], [348, ["vspace", 0], 842, 622, [219, 221]], [349, ["vspace", 40], 842, 742, [221, 230]], [350, "sandwichtop", 758, 272, [309, 351, 311]], [351, ["string", "ask the question"], 861, 272, [350, null]], [352, ["sandwichcollapsed", 1], 776, 314, [337, null]], [353, "sandwichtop", 1116, 572, [284, 354, 286]], [354, ["string", "o o [] <"], 1219, 572, [353, null]], [355, ["sandwichcollapsed", 1], 1134, 614, [307, null]], [356, "sandwichtop", 1103, 416, [259, 357, 261]], [357, ["string", "< o [] []"], 1206, 416, [356, null]], [358, ["sandwichcollapsed", 1], 1121, 458, [282, null]], [359, "sandwichtop", 1085, 271, [234, 360, 236]], [360, ["string", "[] o < []"], 1188, 271, [359, null]], [361, ["sandwichcollapsed", 1], 1103, 313, [257, null]], [362, "sandwichtop", 752, 109, [190, 363, 191]], [363, ["string", "play the game"], 855, 109, [362, null]], [364, "showblocks", 770, 731, [211, 365]], [365, ["sandwichcollapsed", 1], 770, 151, [364, null]], [366, "sandwichtop", 1071, 119, [77, 367, 79]], [367, ["string", "draw shapes"], 1174, 119, [366, null]], [368, ["sandwichcollapsed", 1], 1089, 161, [109, null]], [369, "sandwichtop", 174, 648, [176, 370, 178]], [370, ["string", "celebrate"], 277, 648, [369, null]], [371, ["sandwichcollapsed", 1], 192, 690, [185, null]], [372, ["vspace", 20], 468, 1052, [69, 75]], [373, "sandwichtop", 450, 654, [55, 374, 57]], [374, ["string", "draw a 5-pointed star"], 553, 654, [373, null]], [375, ["sandwichcollapsed", 1], 468, 696, [75, null]], [376, "sandwichtop", 453, 369, [33, 377, 35]], [377, ["string", "draw a triangle"], 556, 369, [376, null]], [378, ["sandwichcollapsed", 1], 471, 411, [53, null]], [379, ["vspace", 20], 471, 767, [47, 53]], [380, "sandwichtop", 450, 225, [13, 381, 15]], [381, ["string", "draw a square"], 553, 225, [380, null]], [382, ["sandwichcollapsed", 1], 468, 267, [27, null]], [383, "sandwichtop", 172, 225, [142, 384, 144]], [384, ["string", "blue triangle"], 275, 225, [383, null]], [385, ["sandwichcollapsed", 1], 190, 267, [151, null]], [386, "sandwichtop", 176, 365, [153, 387, 154]], [387, ["string", "red square"], 279, 365, [386, null]], [388, ["sandwichcollapsed", 1], 194, 407, [159, null]], [389, "sandwichtop", 178, 505, [166, 390, 168]], [390, ["string", "red circle"], 281, 505, [389, null]], [391, ["sandwichcollapsed", 1], 196, 547, [174, null]], [-1, ["turtle", 1], 0, 0, 0.0, 0.0, 50.0, 120.0]] \ No newline at end of file
diff --git a/samples/sierpquad.ta b/samples/sierpquad.ta
index fa79187..24796e3 100644
--- a/samples/sierpquad.ta
+++ b/samples/sierpquad.ta
@@ -1 +1 @@
-[[0, "hat1", 687, -3, [null, 1]], [1, "pendown", 699, 47, [0, 2]], [2, "setcolor", 699, 86, [1, 44, 3]], [3, "repeat", 699, 140, [2, 4, 5, null]], [4, ["number", "4"], 785, 149, [3, null]], [5, "setcolor", 794, 189, [3, 6, 9]], [6, "color", 868, 206, [5, 7]], [7, "minus", 961, 198, [6, 8]], [8, ["number", "2"], 1000, 206, [7, null]], [9, "ifelse", 794, 243, [5, 10, 12, 21, null]], [10, "greater", 874, 253, [9, 11, 25, null]], [11, "box1", 906, 262, [10, null]], [12, "vspace", 889, 317, [9, 13]], [13, "storeinbox1", 889, 386, [12, 38, 14]], [14, "stack1", 889, 440, [13, 15]], [15, "penup", 889, 479, [14, 16]], [16, "forward", 889, 518, [15, 17, 18]], [17, "box1", 963, 527, [16, null]], [18, "stack1", 889, 557, [16, 19]], [19, "penup", 889, 596, [18, 20]], [20, "forward", 889, 635, [19, 41, 47]], [21, "forward", 974, 317, [9, 22, 23]], [22, "box1", 1048, 326, [21, null]], [23, "right", 974, 356, [21, 24, null]], [24, ["number", "90"], 1048, 365, [23, null]], [25, ["number", "10"], 1055, 262, [10, null]], [26, "clean", 699, 361, [37, 27]], [27, "setpensize", 699, 400, [26, 28, 29]], [28, ["number", "1"], 773, 417, [27, null]], [29, "setxy", 699, 454, [27, 30, 31, 32]], [30, ["number", "130"], 773, 463, [29, null]], [31, ["number", "-440"], 773, 500, [29, null]], [32, "left", 699, 530, [29, 33, 34]], [33, ["number", "90"], 773, 539, [32, null]], [34, "storeinbox1", 699, 569, [32, 35, 36]], [35, ["number", "729"], 773, 586, [34, null]], [36, "stack1", 699, 623, [34, null]], [37, "start", 687, 311, [null, 26]], [38, "division2", 963, 379, [13, 39, 40]], [39, "box1", 1003, 387, [38, null]], [40, ["number", "3"], 1022, 420, [38, null]], [41, "product2", 963, 620, [20, 42, 43]], [42, "box1", 1003, 628, [41, null]], [43, ["number", "2"], 1003, 661, [41, null]], [44, "plus2", 773, 79, [2, 45, 46]], [45, "color", 813, 87, [44, null]], [46, ["number", "8"], 813, 120, [44, null]], [47, "vspace", 889, 674, [20, 48]], [48, "storeinbox1", 889, 743, [47, 49, 52]], [49, "product2", 963, 736, [48, 50, 51]], [50, "box1", 1003, 744, [49, null]], [51, ["number", "3"], 1003, 777, [49, null]], [52, "right", 889, 797, [48, 53, null]], [53, ["number", "90"], 963, 806, [52, null]], [-1, "turtle", 130.00000000000065, -440.00000000000091, 270.0, 0.0, 50, 1.0]] \ No newline at end of file
+[[0, "hat1", 490, 175, [null, 1]], [1, "pendown", 490, 217, [0, 2]], [2, "setcolor", 490, 251, [1, 44, 55]], [3, "repeat", 490, 327, [55, 4, 5, null]], [4, ["number", 4], 541, 327, [3, null]], [5, "setcolor", 555, 387, [3, 7, 57]], [6, "color", 686, 387, [7, null]], [7, "minus2", 632, 387, [5, 6, 8]], [8, ["number", 2], 710, 433, [7, null]], [9, "ifelse", 774, 219, [56, 10, 12, 21, null]], [10, "greater2", 840, 185, [9, 11, 25, null]], [11, "box1", 886, 185, [10, null]], [12, ["vspace", 20], 854, 287, [9, 13]], [13, "storeinbox1", 854, 361, [12, 38, 14]], [14, "stack1", 854, 403, [13, 15]], [15, "penup", 854, 437, [14, 16]], [16, "forward", 854, 471, [15, 17, 18]], [17, "box1", 925, 471, [16, null]], [18, "stack1", 854, 513, [16, 19]], [19, "penup", 854, 547, [18, 20]], [20, "forward", 854, 581, [19, 41, 47]], [21, "forward", 906, 287, [9, 22, 23]], [22, "box1", 977, 287, [21, null]], [23, "right", 906, 329, [21, 24, null]], [24, ["number", 90], 964, 329, [23, null]], [25, ["number", 10], 886, 227, [10, null]], [26, "clean", 237, 217, [37, 27]], [27, "setpensize", 237, 251, [26, 28, 29]], [28, ["number", 1], 339, 251, [27, null]], [29, "setxy", 237, 293, [27, 31, 30, 32]], [30, ["number", "-365"], 295, 335, [29, null]], [31, ["number", "365"], 295, 293, [29, null]], [32, "left", 237, 377, [29, 33, 34]], [33, ["number", 90], 295, 377, [32, null]], [34, "storeinbox1", 237, 419, [32, 35, 36]], [35, ["number", 729], 355, 419, [34, null]], [36, "stack1", 237, 461, [34, null]], [37, "start", 237, 175, [null, 26]], [38, "division2", 972, 361, [13, 39, 40]], [39, "box1", 1026, 361, [38, null]], [40, ["number", 3], 1050, 407, [38, null]], [41, "product2", 925, 581, [20, 42, 43]], [42, "box1", 979, 581, [41, null]], [43, ["number", 2], 979, 623, [41, null]], [44, "plus2", 567, 251, [2, 45, 46]], [45, "color", 621, 251, [44, null]], [46, ["number", 8], 621, 293, [44, null]], [47, ["vspace", 0], 854, 623, [20, 48]], [48, "storeinbox1", 854, 657, [47, 49, 54]], [49, "product2", 972, 657, [48, 50, 51]], [50, "box1", 1026, 657, [49, null]], [51, ["number", 3], 1026, 699, [49, null]], [52, "right", 854, 733, [54, 53, null]], [53, ["number", 90], 912, 733, [52, null]], [54, ["vspace", 0], 854, 699, [48, 52]], [55, ["vspace", 0], 490, 293, [2, 3]], [56, "hat2", 774, 177, [null, 9]], [57, "stack2", 555, 429, [5, null]], [-1, ["turtle", 1], 365, -365, 270.0, 0.0, 50, 1.0]] \ No newline at end of file
diff --git a/samples/sierpquad2.ta b/samples/sierpquad2.ta
index 86e2a7d..6ee2598 100644
--- a/samples/sierpquad2.ta
+++ b/samples/sierpquad2.ta
@@ -1 +1 @@
-[[0, "start", 227, 13, [null, 1]], [1, "clean", 239, 63, [0, 2]], [2, "setpensize", 239, 102, [1, 3, 4]], [3, ["number", "1"], 313, 119, [2, null]], [4, "setxy", 239, 156, [2, 5, 6, 7]], [5, ["number", "350"], 313, 165, [4, null]], [6, ["number", "-375"], 313, 202, [4, null]], [7, "left", 239, 232, [4, 8, 9]], [8, ["number", "90"], 313, 241, [7, null]], [9, "storeinbox1", 239, 271, [7, 10, 11]], [10, ["number", "729"], 313, 288, [9, null]], [11, "stack1", 239, 325, [9, 12]], [12, "pendown", 239, 364, [11, 13]], [13, "repeat", 239, 403, [12, 14, 15, null]], [14, ["number", "4"], 325, 412, [13, null]], [15, "forward", 334, 452, [13, 16, 17]], [16, "box1", 408, 461, [15, null]], [17, "right", 334, 491, [15, 18, null]], [18, ["number", "90"], 408, 500, [17, null]], [19, "hat1", 452, 35, [null, 20]], [20, "penup", 464, 85, [19, 21]], [21, "setcolor", 464, 124, [20, 66, 22]], [22, "storeinbox1", 464, 178, [21, 69, 23]], [23, "repeat", 464, 232, [22, 24, 25, 41]], [24, ["number", "4"], 550, 241, [23, null]], [25, "hspace", 559, 272, [23, 26]], [26, "setcolor", 650, 280, [25, 27, 30]], [27, "color", 724, 297, [26, 28]], [28, "minus", 817, 289, [27, 29]], [29, ["number", "2"], 856, 297, [28, null]], [30, "if", 650, 334, [26, 31, 34, 35]], [31, "greater", 730, 344, [30, 32, 33, null]], [32, "box1", 762, 353, [31, null]], [33, ["number", "1"], 911, 353, [31, null]], [34, "stack2", 745, 408, [30, null]], [35, "forward", 650, 449, [30, 36, 39]], [36, "product2", 724, 434, [35, 37, 38]], [37, "box1", 764, 442, [36, null]], [38, ["number", "3"], 764, 475, [36, null]], [39, "right", 650, 488, [35, 40, null]], [40, ["number", "90"], 724, 497, [39, null]], [41, "storeinbox1", 464, 322, [23, 42, null]], [42, "product2", 538, 315, [41, 43, 44]], [43, "box1", 578, 323, [42, null]], [44, ["number", "3"], 578, 356, [42, null]], [45, "hat2", 833, 26, [null, 46]], [46, "stack1", 845, 76, [45, 47]], [47, "forward", 845, 115, [46, 48, 49]], [48, "box1", 919, 124, [47, null]], [49, "stack1", 845, 154, [47, 50]], [50, "repeat", 845, 193, [49, 51, 52, 56]], [51, ["number", "2"], 931, 202, [50, null]], [52, "forward", 940, 242, [50, 53, 54]], [53, "box1", 1014, 251, [52, null]], [54, "right", 940, 281, [52, 55, null]], [55, ["number", "90"], 1014, 290, [54, null]], [56, "pendown", 845, 283, [50, 57]], [57, "forward", 845, 322, [56, 58, 59]], [58, "box1", 919, 331, [57, null]], [59, "penup", 845, 361, [57, 60]], [60, "repeat", 845, 400, [59, 61, 62, null]], [61, ["number", "2"], 931, 409, [60, null]], [62, "forward", 940, 449, [60, 63, 64]], [63, "box1", 1014, 458, [62, null]], [64, "right", 940, 488, [62, 65, null]], [65, ["number", "90"], 1014, 497, [64, null]], [66, "plus2", 538, 117, [21, 67, 68]], [67, "color", 578, 125, [66, null]], [68, ["number", "8"], 578, 158, [66, null]], [69, "division2", 538, 171, [22, 70, 71]], [70, "box1", 578, 179, [69, null]], [71, ["number", "3"], 597, 212, [69, null]], [-1, "turtle", -303.99999999999949, -303.00000000000051, 0.0, 18.0, 50, 1.0]] \ No newline at end of file
+[[0, "start", 221, 174, [null, 1]], [1, "clean", 221, 216, [0, 2]], [2, "setpensize", 221, 250, [1, 3, 4]], [3, ["number", 1], 323, 250, [2, null]], [4, "setxy", 221, 292, [2, 5, 6, 7]], [5, ["number", "365"], 279, 292, [4, null]], [6, ["number", "-365"], 279, 334, [4, null]], [7, "left", 221, 376, [4, 8, 9]], [8, ["number", 90], 279, 376, [7, null]], [9, "storeinbox1", 221, 418, [7, 10, 11]], [10, ["number", 729], 339, 418, [9, null]], [11, "stack1", 221, 460, [9, 12]], [12, "pendown", 221, 494, [11, 13]], [13, "repeat", 221, 528, [12, 14, 15, null]], [14, ["number", 4], 272, 528, [13, null]], [15, "forward", 286, 588, [13, 16, 17]], [16, "box1", 357, 588, [15, null]], [17, "right", 286, 630, [15, 18, null]], [18, ["number", 90], 344, 630, [17, null]], [19, "hat1", 500, 175, [null, 20]], [20, "penup", 500, 217, [19, 21]], [21, "setcolor", 500, 251, [20, 65, 74]], [22, "storeinbox1", 500, 327, [74, 68, 73]], [23, "repeat", 500, 403, [73, 24, 25, 71]], [24, ["number", 4], 551, 403, [23, null]], [25, "setcolor", 565, 463, [23, 27, 75]], [26, "color", 696, 463, [27, null]], [27, "minus2", 642, 463, [25, 26, 28]], [28, ["number", 2], 720, 509, [27, null]], [29, "if", 565, 579, [75, 30, 33, 76]], [30, "greater2", 603, 545, [29, 31, 32, null]], [31, "box1", 649, 545, [30, null]], [32, ["number", 1], 649, 587, [30, null]], [33, "stack2", 617, 647, [29, null]], [34, "forward", 565, 699, [76, 35, 38]], [35, "product2", 636, 699, [34, 36, 37]], [36, "box1", 690, 699, [35, null]], [37, ["number", 3], 690, 741, [35, null]], [38, "right", 565, 741, [34, 39, null]], [39, ["number", 90], 623, 741, [38, null]], [40, "storeinbox1", 500, 795, [71, 41, null]], [41, "product2", 618, 795, [40, 42, 43]], [42, "box1", 672, 795, [41, null]], [43, ["number", 3], 672, 837, [41, null]], [44, "hat2", 863, 177, [null, 45]], [45, "stack1", 863, 219, [44, 46]], [46, "forward", 863, 253, [45, 47, 48]], [47, "box1", 934, 253, [46, null]], [48, "stack1", 863, 295, [46, 49]], [49, "repeat", 863, 329, [48, 50, 51, 72]], [50, ["number", 2], 914, 329, [49, null]], [51, "forward", 928, 389, [49, 52, 53]], [52, "box1", 999, 389, [51, null]], [53, "right", 928, 431, [51, 54, null]], [54, ["number", 90], 986, 431, [53, null]], [55, "pendown", 863, 481, [72, 56]], [56, "forward", 863, 515, [55, 57, 58]], [57, "box1", 934, 515, [56, null]], [58, "penup", 863, 557, [56, 59]], [59, "repeat", 863, 591, [58, 60, 61, null]], [60, ["number", 2], 914, 591, [59, null]], [61, "forward", 928, 651, [59, 62, 63]], [62, "box1", 999, 651, [61, null]], [63, "right", 928, 693, [61, 64, null]], [64, ["number", 90], 986, 693, [63, null]], [65, "plus2", 577, 251, [21, 66, 67]], [66, "color", 631, 251, [65, null]], [67, ["number", 8], 631, 293, [65, null]], [68, "division2", 618, 327, [22, 69, 70]], [69, "box1", 672, 327, [68, null]], [70, ["number", 3], 696, 373, [68, null]], [71, ["vspace", 140], 500, 481, [23, 40]], [72, ["vspace", 20], 863, 407, [49, 55]], [73, ["vspace", 0], 500, 369, [22, 23]], [74, ["vspace", 0], 500, 293, [21, 22]], [75, ["vspace", 20], 565, 505, [25, 29]], [76, ["vspace", 0], 565, 665, [29, 34]], [-1, ["turtle", 1], -174, 345, 270.0, 14.0, 50, 1.0]] \ No newline at end of file
diff --git a/samples/sierptri.ta b/samples/sierptri.ta
index 5e60749..3affe14 100644
--- a/samples/sierptri.ta
+++ b/samples/sierptri.ta
@@ -1 +1 @@
-[[0, "hat1", 688, -4, [null, 1]], [1, "pendown", 700, 46, [0, 2]], [2, "setcolor", 700, 85, [1, 33, 3]], [3, "repeat", 700, 139, [2, 4, 5, null]], [4, ["number", "3"], 786, 148, [3, null]], [5, "setcolor", 795, 188, [3, 36, 6]], [6, "if", 795, 242, [5, 7, 10, 14]], [7, "greater", 875, 252, [6, 8, 9, null]], [8, "box1", 907, 261, [7, null]], [9, ["number", "16"], 1056, 261, [7, null]], [10, "storeinbox1", 890, 316, [6, 39, 11]], [11, "stack1", 890, 370, [10, 12]], [12, "storeinbox1", 890, 409, [11, 42, 13]], [13, "penup", 890, 463, [12, null]], [14, "vspace", 795, 357, [6, 15]], [15, "vspace", 795, 426, [14, 16]], [16, "vspace", 795, 495, [15, 17]], [17, "forward", 795, 564, [16, 18, 19]], [18, "box1", 869, 573, [17, null]], [19, "right", 795, 603, [17, 20, null]], [20, ["number", "120"], 869, 612, [19, null]], [21, "start", 490, 16, [null, 22]], [22, "clean", 502, 66, [21, 23]], [23, "setpensize", 502, 105, [22, 24, 25]], [24, ["number", "2"], 576, 122, [23, null]], [25, "setxy", 502, 159, [23, 26, 27, 28]], [26, ["number", "200"], 576, 168, [25, null]], [27, ["number", "-375"], 576, 205, [25, null]], [28, "left", 502, 235, [25, 29, 30]], [29, ["number", "90"], 576, 244, [28, null]], [30, "storeinbox1", 502, 274, [28, 31, 32]], [31, ["number", "768"], 576, 291, [30, null]], [32, "stack1", 502, 328, [30, null]], [33, "plus2", 774, 78, [2, 34, 35]], [34, "color", 814, 86, [33, null]], [35, ["number", "6"], 814, 119, [33, null]], [36, "minus2", 869, 181, [5, 37, 38]], [37, "color", 909, 189, [36, null]], [38, ["number", "2"], 928, 222, [36, null]], [39, "division2", 964, 309, [10, 40, 41]], [40, "box1", 1004, 317, [39, null]], [41, ["number", "2"], 1023, 350, [39, null]], [42, "product2", 964, 402, [12, 43, 44]], [43, "box1", 1004, 410, [42, null]], [44, ["number", "2"], 1004, 443, [42, null]], [-1, "turtle", 199.9999999999994, -375.00000000000165, 270.0, 0.0, 50, 2.0]] \ No newline at end of file
+[[0, "hat1", 503, 175, [null, 1]], [1, "pendown", 503, 217, [0, 2]], [2, "setcolor", 503, 251, [1, 33, 15]], [3, "repeat", 503, 327, [15, 4, 5, null]], [4, ["number", 3], 554, 327, [3, null]], [5, "setcolor", 568, 387, [3, 36, 16]], [6, "if", 568, 503, [16, 7, 10, 14]], [7, "greater2", 606, 469, [6, 8, 9, null]], [8, "box1", 652, 469, [7, null]], [9, ["number", 16], 652, 511, [7, null]], [10, "storeinbox1", 620, 571, [6, 39, 11]], [11, "stack1", 620, 613, [10, 12]], [12, "storeinbox1", 620, 647, [11, 42, 13]], [13, "penup", 620, 689, [12, null]], [14, ["vspace", 60], 568, 589, [6, 17]], [15, ["vspace", 0], 503, 293, [2, 3]], [16, ["vspace", 20], 568, 429, [5, 6]], [17, "forward", 568, 743, [14, 18, 19]], [18, "box1", 639, 743, [17, null]], [19, "right", 568, 785, [17, 20, null]], [20, ["number", 120], 626, 785, [19, null]], [21, "start", 255, 175, [null, 22]], [22, "clean", 255, 217, [21, 23]], [23, "setpensize", 255, 251, [22, 24, 25]], [24, ["number", 2], 357, 251, [23, null]], [25, "setxy", 255, 293, [23, 26, 27, 28]], [26, ["number", "383"], 313, 293, [25, null]], [27, ["number", "-333"], 313, 335, [25, null]], [28, "left", 255, 377, [25, 29, 30]], [29, ["number", 90], 313, 377, [28, null]], [30, "storeinbox1", 255, 419, [28, 31, 32]], [31, ["number", 768], 373, 419, [30, null]], [32, "stack1", 255, 461, [30, null]], [33, "plus2", 580, 251, [2, 34, 35]], [34, "color", 634, 251, [33, null]], [35, ["number", 6], 634, 293, [33, null]], [36, "minus2", 645, 387, [5, 37, 38]], [37, "color", 699, 387, [36, null]], [38, ["number", 2], 723, 433, [36, null]], [39, "division2", 738, 571, [10, 40, 41]], [40, "box1", 792, 571, [39, null]], [41, ["number", 2], 816, 617, [39, null]], [42, "product2", 738, 647, [12, 43, 44]], [43, "box1", 792, 647, [42, null]], [44, ["number", 2], 792, 689, [42, null]], [-1, ["turtle", 1], 382, -333, 270.0, 0.0, 50, 2.0]] \ No newline at end of file
diff --git a/samples/sinfunction.ta b/samples/sinfunction.ta
new file mode 100644
index 0000000..6ac9e3e
--- /dev/null
+++ b/samples/sinfunction.ta
@@ -0,0 +1 @@
+[[0, "start", 76, 215, [null, 46]], [1, "storeinbox1", 141, 503, [33, 2, 36]], [2, ["number", -3.1400000000000001], 259, 503, [1, null]], [3, "repeat", 398, 229, [48, 4, 23, null]], [4, ["number", 628], 449, 229, [3, null]], [5, "setxy", 463, 525, [32, 27, 29, 11]], [6, "box1", 585, 331, [21, null]], [7, ["identity2", 40], 585, 449, [8, 9]], [8, "product2", 531, 449, [25, 7, 41]], [9, "myfunc", 719, 449, [7, 10, 18]], [10, ["string", "sin(x)"], 799, 449, [9, null]], [11, ["vspace", 0], 463, 609, [5, 12]], [12, "forward", 463, 643, [11, 13, 14]], [13, ["number", 0], 534, 643, [12, null]], [14, "storeinbox1", 463, 685, [12, 15, 40]], [15, "plus2", 581, 685, [14, 16, 17]], [16, "box1", 635, 685, [15, null]], [17, ["number", 0.01], 635, 727, [15, null]], [18, "box1", 799, 491, [9, null]], [19, "clean", 76, 291, [46, 20]], [20, "cartesian", 76, 325, [19, 34]], [21, "product2", 531, 331, [23, 6, 22]], [22, ["number", 100], 585, 373, [21, null]], [23, "storein", 463, 289, [3, 24, 21, 31]], [24, ["string", "x"], 531, 289, [23, null]], [25, "storein", 463, 407, [31, 26, 8, 32]], [26, ["string", "sin(x)"], 531, 407, [25, null]], [27, "box", 521, 525, [5, 28, null]], [28, ["string", "x"], 576, 525, [27, null]], [29, "box", 521, 567, [5, 30, null]], [30, ["string", "sin(x)"], 576, 567, [29, null]], [31, ["vspace", 0], 463, 373, [23, 25]], [32, ["vspace", 0], 463, 491, [25, 5]], [33, "setcolor", 141, 461, [42, 45, 1]], [34, "storeinbox2", 76, 359, [20, 35, 42]], [35, ["number", "1"], 194, 359, [34, null]], [36, "storeinbox2", 141, 545, [1, 38, 49]], [37, ["number", "2"], 313, 587, [38, null]], [38, "plus2", 259, 545, [36, 39, 37]], [39, "box2", 313, 545, [38, null]], [40, ["vspace", 0], 463, 727, [14, null]], [41, "box2", 585, 491, [8, null]], [42, "repeat", 76, 401, [34, 43, 33, 44]], [43, ["number", "200"], 127, 401, [42, null]], [44, ["vspace", 60], 76, 479, [42, 47]], [45, "box2", 218, 461, [33, null]], [46, "hideblocks", 76, 257, [0, 19]], [47, "showblocks", 76, 633, [44, null]], [48, "hat1", 398, 187, [null, 3]], [49, "stack1", 141, 587, [36, null]], [-1, ["turtle", 1], 312, 9, 0, 799.0, 50, 5]] \ No newline at end of file
diff --git a/samples/smoothcandy.ta b/samples/smoothcandy.ta
index e236eb9..eec7e0a 100644
--- a/samples/smoothcandy.ta
+++ b/samples/smoothcandy.ta
@@ -1 +1 @@
-[[0, "start", 201, 14, [null, 1]], [1, "clean", 213, 64, [0, 2]], [2, "repeat", 213, 103, [1, 3, 4, null]], [3, ["number", 350], 299, 112, [2, null]], [4, "setpensize", 308, 152, [2, 23, 5]], [5, "forward", 308, 206, [4, 6, 7]], [6, ["number", "1000"], 382, 215, [5, null]], [7, "setcolor", 308, 245, [5, 20, 8]], [8, "storeinbox1", 308, 299, [7, 17, 9]], [9, "setshade", 308, 353, [8, 14, 10]], [10, "back", 308, 407, [9, 11, 12]], [11, ["number", "1000"], 382, 416, [10, null]], [12, "left", 308, 446, [10, 13, null]], [13, ["number", 1], 382, 455, [12, null]], [14, "minus2", 382, 346, [9, 15, 16]], [15, ["number", 100], 422, 354, [14, null]], [16, "box1", 441, 387, [14, null]], [17, "division2", 382, 292, [8, 18, 19]], [18, "heading", 422, 300, [17, null]], [19, ["number", 2], 441, 333, [17, null]], [20, "division2", 382, 238, [7, 21, 22]], [21, "heading", 422, 246, [20, null]], [22, ["number", 3], 441, 279, [20, null]], [23, "plus2", 382, 145, [4, 24, 25]], [24, "heading", 422, 153, [23, null]], [25, ["number", 4], 422, 186, [23, null]], [-1, "turtle", 0.0, 0.0, 10.0, 3.6666666666666665, 94.5, 15.0]] \ No newline at end of file
+[[0, "start", 236, 175, [null, 1]], [1, "clean", 236, 217, [0, 2]], [2, "repeat", 236, 251, [1, 3, 4, null]], [3, ["number", 350], 287, 251, [2, null]], [4, "setpensize", 301, 311, [2, 23, 26]], [5, "forward", 301, 387, [26, 6, 7]], [6, ["number", 1000], 372, 387, [5, null]], [7, "setcolor", 301, 429, [5, 20, 27]], [8, "storeinbox1", 301, 505, [27, 17, 28]], [9, "setshade", 301, 581, [28, 14, 29]], [10, "back", 301, 657, [29, 11, 12]], [11, ["number", 1000], 359, 657, [10, null]], [12, "left", 301, 699, [10, 13, null]], [13, ["number", 1], 359, 699, [12, null]], [14, "minus2", 386, 581, [9, 15, 16]], [15, ["number", 100], 440, 581, [14, null]], [16, "box1", 464, 627, [14, null]], [17, "division2", 419, 505, [8, 18, 19]], [18, "heading", 473, 505, [17, null]], [19, ["number", 2], 497, 551, [17, null]], [20, "division2", 378, 429, [7, 21, 22]], [21, "heading", 432, 429, [20, null]], [22, ["number", 3], 456, 475, [20, null]], [23, "plus2", 403, 311, [4, 24, 25]], [24, "heading", 457, 311, [23, null]], [25, ["number", 4], 457, 353, [23, null]], [26, ["vspace", 0], 301, 353, [4, 5]], [27, ["vspace", 0], 301, 471, [7, 8]], [28, ["vspace", 0], 301, 547, [8, 9]], [29, ["vspace", 0], 301, 623, [9, 10]], [-1, ["turtle", 1], 0, 0, 10.0, 3.6666666666666665, 94.5, 15.0]] \ No newline at end of file
diff --git a/samples/snowflake.ta b/samples/snowflake.ta
index db11cdd..3047459 100644
--- a/samples/snowflake.ta
+++ b/samples/snowflake.ta
@@ -1 +1 @@
-[[0, "hat1", 783, -1, [null, 1]], [1, "ifelse", 795, 49, [0, 2, 4, 9, null]], [2, "greater", 875, 59, [1, 3, 21, null]], [3, "box1", 907, 68, [2, null]], [4, "vspace", 890, 123, [1, 5]], [5, "storeinbox1", 890, 192, [4, 38, 6]], [6, "stack1", 890, 246, [5, 7]], [7, "left", 890, 285, [6, 8, 11]], [8, ["number", "60"], 964, 294, [7, null]], [9, "forward", 975, 123, [1, 10, null]], [10, "box1", 1049, 132, [9, null]], [11, "setcolor", 890, 324, [7, 41, 12]], [12, "stack1", 890, 378, [11, 13]], [13, "right", 890, 417, [12, 14, 15]], [14, ["number", "120"], 964, 426, [13, null]], [15, "stack1", 890, 456, [13, 16]], [16, "setcolor", 890, 495, [15, 44, 17]], [17, "left", 890, 549, [16, 18, 19]], [18, ["number", "60"], 964, 558, [17, null]], [19, "stack1", 890, 588, [17, 20]], [20, "storeinbox1", 890, 627, [19, 47, null]], [21, ["number", "3"], 1056, 68, [2, null]], [22, "clean", 375, 238, [37, 23]], [23, "setpensize", 375, 277, [22, 24, 25]], [24, ["number", "3"], 449, 294, [23, null]], [25, "setxy", 375, 331, [23, 26, 27, 28]], [26, ["number", "200"], 449, 340, [25, null]], [27, ["number", "-220"], 449, 377, [25, null]], [28, "left", 375, 407, [25, 29, 30]], [29, ["number", "90"], 449, 416, [28, null]], [30, "storeinbox1", 375, 446, [28, 31, 32]], [31, ["number", "729"], 449, 463, [30, null]], [32, "repeat", 375, 500, [30, 33, 34, null]], [33, ["number", "3"], 461, 509, [32, null]], [34, "stack1", 470, 549, [32, 35]], [35, "right", 470, 588, [34, 36, null]], [36, ["number", "120"], 544, 597, [35, null]], [37, "start", 363, 188, [null, 22]], [38, "division2", 964, 185, [5, 39, 40]], [39, "box1", 1004, 193, [38, null]], [40, ["number", "3"], 1023, 226, [38, null]], [41, "plus2", 964, 317, [11, 42, 43]], [42, "color", 1004, 325, [41, null]], [43, ["number", "7"], 1004, 358, [41, null]], [44, "minus2", 964, 488, [16, 45, 46]], [45, "color", 1004, 496, [44, null]], [46, ["number", "7"], 1023, 529, [44, null]], [47, "product2", 964, 620, [20, 48, 49]], [48, "box1", 1004, 628, [47, null]], [49, ["number", "3"], 1004, 661, [47, null]], [-1, "turtle", 200.0, -220.00000000000006, 270.0, 0.0, 50, 3.0]] \ No newline at end of file
+[[0, "hat1", 622, 175, [null, 1]], [1, "ifelse", 622, 217, [0, 2, 4, 9, null]], [2, "greater2", 688, 183, [1, 3, 21, null]], [3, "box1", 734, 183, [2, null]], [4, ["vspace", 0], 702, 285, [1, 5]], [5, "storeinbox1", 702, 319, [4, 38, 6]], [6, "stack1", 702, 361, [5, 7]], [7, "left", 702, 395, [6, 8, 11]], [8, ["number", 60], 760, 395, [7, null]], [9, "forward", 754, 285, [1, 10, null]], [10, "box1", 825, 285, [9, null]], [11, "setcolor", 702, 437, [7, 41, 12]], [12, "stack1", 702, 479, [11, 13]], [13, "right", 702, 513, [12, 14, 15]], [14, ["number", 120], 760, 513, [13, null]], [15, "stack1", 702, 555, [13, 16]], [16, "setcolor", 702, 589, [15, 44, 50]], [17, "left", 702, 665, [50, 18, 19]], [18, ["number", 60], 760, 665, [17, null]], [19, "stack1", 702, 707, [17, 20]], [20, "storeinbox1", 702, 741, [19, 47, null]], [21, ["number", 3], 734, 225, [2, null]], [22, "clean", 309, 217, [37, 23]], [23, "setpensize", 309, 251, [22, 24, 25]], [24, ["number", 3], 411, 251, [23, null]], [25, "setxy", 309, 293, [23, 26, 27, 28]], [26, ["number", "364"], 367, 293, [25, null]], [27, ["number", "-210"], 367, 335, [25, null]], [28, "left", 309, 377, [25, 29, 30]], [29, ["number", 90], 367, 377, [28, null]], [30, "storeinbox1", 309, 419, [28, 31, 32]], [31, ["number", 729], 427, 419, [30, null]], [32, "repeat", 309, 461, [30, 33, 34, null]], [33, ["number", 3], 360, 461, [32, null]], [34, "stack1", 374, 521, [32, 35]], [35, "right", 374, 555, [34, 36, null]], [36, ["number", 120], 432, 555, [35, null]], [37, "start", 309, 175, [null, 22]], [38, "division2", 820, 319, [5, 39, 40]], [39, "box1", 874, 319, [38, null]], [40, ["number", 3], 898, 365, [38, null]], [41, "plus2", 779, 437, [11, 42, 43]], [42, "color", 833, 437, [41, null]], [43, ["number", 7], 833, 479, [41, null]], [44, "minus2", 779, 589, [16, 45, 46]], [45, "color", 833, 589, [44, null]], [46, ["number", 7], 857, 635, [44, null]], [47, "product2", 820, 741, [20, 48, 49]], [48, "box1", 874, 741, [47, null]], [49, ["number", 3], 874, 783, [47, null]], [50, ["vspace", 0], 702, 631, [16, 17]], [-1, ["turtle", 1], 364, -210, 270.0, 0.0, 50, 3.0]] \ No newline at end of file
diff --git a/samples/square.ta b/samples/square.ta
index 60273be..cff5868 100644
--- a/samples/square.ta
+++ b/samples/square.ta
@@ -1 +1 @@
-[[0, "repeat", 245, 139, [null, 1, 2, null]], [1, ["number", 4], 331, 148, [0, null]], [2, "forward", 340, 188, [0, 3, 4]], [3, ["number", 200], 414, 197, [2, null]], [4, "right", 340, 227, [2, 5, null]], [5, ["number", 90], 414, 236, [4, null]], [-1, "turtle", 8.5265128291212022e-14, -9.3581609475479333e-14, 0.0, 0, 50, 5]] \ No newline at end of file
+[[0, "repeat", 250, 217, [6, 1, 2, null]], [1, ["number", 4], 301, 217, [0, null]], [2, "forward", 315, 277, [0, 3, 4]], [3, ["number", "100"], 386, 277, [2, null]], [4, "right", 315, 319, [2, 5, null]], [5, ["number", 90], 373, 319, [4, null]], [6, "start", 250, 175, [null, 0]], [-1, ["turtle", 1], 0, 0, 0.0, 0, 50, 5]] \ No newline at end of file
diff --git a/samples/squares.ta b/samples/squares.ta
index 39b9608..85ae2a2 100644
--- a/samples/squares.ta
+++ b/samples/squares.ta
@@ -1 +1 @@
-[[0, "clean", 261, 118, [null, 1]], [1, "repeat", 261, 157, [0, 2, 3, null]], [2, ["number", 36], 347, 166, [1, null]], [3, "repeat", 356, 206, [1, 4, 5, 9]], [4, ["number", 4], 442, 215, [3, null]], [5, "forward", 451, 255, [3, 6, 7]], [6, ["number", "300"], 525, 264, [5, null]], [7, "right", 451, 294, [5, 8, null]], [8, ["number", 90], 525, 303, [7, null]], [9, "vspace", 356, 296, [3, 10]], [10, "right", 356, 365, [9, 11, null]], [11, ["number", 10], 430, 374, [10, null]], [-1, "turtle", -2.8421709430404007e-13, -1.0587086762825493e-12, 0.0, 0, 50, 5]] \ No newline at end of file
+[[0, "clean", 258, 217, [12, 1]], [1, "repeat", 258, 251, [0, 2, 3, null]], [2, ["number", 36], 309, 251, [1, null]], [3, "repeat", 323, 311, [1, 4, 5, 9]], [4, ["number", 4], 374, 311, [3, null]], [5, "forward", 388, 371, [3, 6, 7]], [6, ["number", 300], 459, 371, [5, null]], [7, "right", 388, 413, [5, 8, null]], [8, ["number", 90], 446, 413, [7, null]], [9, ["vspace", 20], 323, 389, [3, 10]], [10, "right", 323, 463, [9, 11, null]], [11, ["number", 10], 381, 463, [10, null]], [12, "start", 258, 175, [null, 0]], [-1, ["turtle", 1], 0, 0, 0.0, 0, 50, 5]] \ No newline at end of file
diff --git a/samples/squiral.ta b/samples/squiral.ta
index bec4abd..1774988 100644
--- a/samples/squiral.ta
+++ b/samples/squiral.ta
@@ -1 +1 @@
-[[0, "clean", 258, 72, [19, 1]], [1, "storeinbox1", 258, 111, [0, 2, 3]], [2, ["number", 0], 332, 128, [1, null]], [3, "repeat", 258, 165, [1, 4, 5, null]], [4, ["number", "300"], 344, 174, [3, null]], [5, "forward", 353, 214, [3, 6, 7]], [6, "box1", 427, 223, [5, null]], [7, "right", 353, 253, [5, 8, 9]], [8, ["number", 91], 427, 262, [7, null]], [9, "storeinbox1", 353, 292, [7, 10, 13]], [10, "plus2", 427, 285, [9, 11, 12]], [11, "box1", 467, 293, [10, null]], [12, ["number", 5], 467, 326, [10, null]], [13, "setcolor", 353, 346, [9, 14, null]], [14, "product2", 427, 339, [13, 15, 18]], [15, "division2", 467, 323, [14, 16, 17]], [16, "heading", 507, 331, [15, null]], [17, ["number", "360"], 526, 364, [15, null]], [18, ["number", 100], 467, 380, [14, null]], [19, "start", 246, 22, [null, 0]], [-1, "turtle", 278.8796530912756, -1014.5091542600603, 300.0, 83.333333333333343, 50, 5]] \ No newline at end of file
+[[0, "clean", 257, 217, [19, 1]], [1, "storeinbox1", 257, 251, [0, 2, 3]], [2, ["number", 0], 375, 251, [1, null]], [3, "repeat", 257, 293, [1, 4, 5, null]], [4, ["number", 300], 308, 293, [3, null]], [5, "forward", 322, 353, [3, 6, 7]], [6, "box1", 393, 353, [5, null]], [7, "right", 322, 395, [5, 8, 9]], [8, ["number", 91], 380, 395, [7, null]], [9, "storeinbox1", 322, 437, [7, 10, 20]], [10, "plus2", 440, 437, [9, 11, 12]], [11, "box1", 494, 437, [10, null]], [12, ["number", 5], 494, 479, [10, null]], [13, "setcolor", 322, 513, [20, 14, null]], [14, "product2", 399, 513, [13, 21, 18]], [15, "division2", 547, 513, [21, 16, 17]], [16, "heading", 601, 513, [15, null]], [17, ["number", 360], 625, 559, [15, null]], [18, ["number", 100], 453, 555, [14, null]], [19, "start", 257, 175, [null, 0]], [20, ["vspace", 0], 322, 479, [9, 13]], [21, ["identity2", 20], 453, 513, [14, 15]], [-1, ["turtle", 1], 278, -1014, 300.0, 83.333333333333343, 50, 5]] \ No newline at end of file
diff --git a/samples/sunrise.ta b/samples/sunrise.ta
index 9fd3d65..dee9a9b 100644
--- a/samples/sunrise.ta
+++ b/samples/sunrise.ta
@@ -1 +1 @@
-[[0, "fillscreen", 232, 98, [17, 1, 2, 3]], [1, ["number", "0"], 306, 107, [0, null]], [2, ["number", "0"], 306, 144, [0, null]], [3, "setpensize", 232, 174, [0, 4, 5]], [4, ["number", "6"], 306, 191, [3, null]], [5, "repeat", 232, 228, [3, 6, 7, null]], [6, ["number", "300"], 318, 237, [5, null]], [7, "storeinbox1", 327, 277, [5, 8, 9]], [8, ["number", "15"], 401, 294, [7, null]], [9, "storeinbox2", 327, 331, [7, 10, 11]], [10, ["number", "20"], 401, 348, [9, null]], [11, "stack1", 327, 385, [9, 12]], [12, "storeinbox1", 327, 424, [11, 13, 14]], [13, ["number", "0"], 401, 441, [12, null]], [14, "storeinbox2", 327, 478, [12, 15, 16]], [15, ["number", "10"], 401, 495, [14, null]], [16, "stack1", 327, 532, [14, null]], [17, "start", 220, 48, [null, 0]], [18, "hat1", 522, 18, [null, 19]], [19, "setxy", 534, 68, [18, 20, 21, 22]], [20, ["number", "0"], 608, 77, [19, null]], [21, ["number", "0"], 608, 114, [19, null]], [22, "seth", 534, 144, [19, 23, 26]], [23, "random", 608, 134, [22, 24, 25, null]], [24, ["number", "0"], 636, 153, [23, null]], [25, ["number", "360"], 758, 153, [23, null]], [26, "repeat", 534, 183, [22, 27, 28, null]], [27, ["number", "20"], 620, 192, [26, null]], [28, "setcolor", 629, 232, [26, 29, 32]], [29, "random", 703, 230, [28, 30, 31, null]], [30, "box1", 731, 249, [29, null]], [31, "box2", 853, 249, [29, null]], [32, "forward", 629, 286, [28, 33, 36]], [33, "random", 703, 276, [32, 34, 35, null]], [34, ["number", "10"], 731, 295, [33, null]], [35, ["number", "30"], 853, 295, [33, null]], [36, "right", 629, 325, [32, 37, 40]], [37, "random", 703, 315, [36, 38, 39, null]], [38, ["number", "30"], 731, 334, [37, null]], [39, ["number", "40"], 853, 334, [37, null]], [40, "setcolor", 629, 364, [36, 41, 44]], [41, "random", 703, 362, [40, 42, 43, null]], [42, "box1", 731, 381, [41, null]], [43, "box2", 853, 381, [41, null]], [44, "forward", 629, 418, [40, 45, 48]], [45, "random", 703, 408, [44, 46, 47, null]], [46, ["number", "10"], 731, 427, [45, null]], [47, ["number", "30"], 853, 427, [45, null]], [48, "left", 629, 457, [44, 49, null]], [49, "random", 703, 447, [48, 50, 51, null]], [50, ["number", "30"], 731, 466, [49, null]], [51, ["number", "40"], 853, 466, [49, null]], [-1, "turtle", 74.35903566767675, 101.77401082082446, 57, 17, 50, 6.0]] \ No newline at end of file
+[[0, "fillscreen", 214, 217, [17, 1, 2, 3]], [1, ["number", 0], 296, 217, [0, null]], [2, ["number", 0], 296, 259, [0, null]], [3, "setpensize", 214, 301, [0, 4, 5]], [4, ["number", 6], 316, 301, [3, null]], [5, "repeat", 214, 343, [3, 6, 7, null]], [6, ["number", 300], 265, 343, [5, null]], [7, "storeinbox1", 279, 403, [5, 8, 9]], [8, ["number", 15], 397, 403, [7, null]], [9, "storeinbox2", 279, 445, [7, 10, 11]], [10, ["number", 20], 397, 445, [9, null]], [11, "stack1", 279, 487, [9, 12]], [12, "storeinbox1", 279, 521, [11, 13, 14]], [13, ["number", 0], 397, 521, [12, null]], [14, "storeinbox2", 279, 563, [12, 15, 16]], [15, ["number", 10], 397, 563, [14, null]], [16, "stack1", 279, 605, [14, null]], [17, "start", 214, 175, [null, 0]], [18, "hat1", 557, 175, [null, 19]], [19, "setxy", 557, 217, [18, 20, 21, 22]], [20, ["number", 0], 615, 217, [19, null]], [21, ["number", 0], 615, 259, [19, null]], [22, "seth", 557, 301, [19, 23, 57]], [23, "random", 656, 301, [22, 24, 25, null]], [24, ["number", 0], 742, 301, [23, null]], [25, ["number", 360], 742, 343, [23, null]], [26, "repeat", 557, 377, [57, 27, 28, null]], [27, ["number", 20], 608, 377, [26, null]], [28, "setcolor", 622, 437, [26, 29, 52]], [29, "random", 699, 437, [28, 30, 31, null]], [30, "box1", 785, 437, [29, null]], [31, "box2", 785, 479, [29, null]], [32, "forward", 622, 513, [52, 33, 53]], [33, "random", 693, 513, [32, 34, 35, null]], [34, ["number", 10], 779, 513, [33, null]], [35, ["number", 30], 779, 555, [33, null]], [36, "right", 622, 589, [53, 37, 54]], [37, "random", 680, 589, [36, 38, 39, null]], [38, ["number", 30], 766, 589, [37, null]], [39, ["number", 40], 766, 631, [37, null]], [40, "setcolor", 622, 665, [54, 41, 55]], [41, "random", 699, 665, [40, 42, 43, null]], [42, "box1", 785, 665, [41, null]], [43, "box2", 785, 707, [41, null]], [44, "forward", 622, 741, [55, 45, 56]], [45, "random", 693, 741, [44, 46, 47, null]], [46, ["number", 10], 779, 741, [45, null]], [47, ["number", 30], 779, 783, [45, null]], [48, "left", 622, 817, [56, 49, null]], [49, "random", 680, 817, [48, 50, 51, null]], [50, ["number", 30], 766, 817, [49, null]], [51, ["number", 40], 766, 859, [49, null]], [52, ["vspace", 0], 622, 479, [28, 32]], [53, ["vspace", 0], 622, 555, [32, 36]], [54, ["vspace", 0], 622, 631, [36, 40]], [55, ["vspace", 0], 622, 707, [40, 44]], [56, ["vspace", 0], 622, 783, [44, 48]], [57, ["vspace", 0], 557, 343, [22, 26]], [-1, ["turtle", 1], 42, -482, 168, 0, 50, 6.0]] \ No newline at end of file
diff --git a/samples/tangents.ta b/samples/tangents.ta
new file mode 100644
index 0000000..98b676d
--- /dev/null
+++ b/samples/tangents.ta
@@ -0,0 +1 @@
+[[0, "hat1", 577, 188, [null, 81]], [1, "repeat", 577, 272, [81, 2, 3, 83]], [2, ["number", 50], 628, 272, [1, null]], [3, "setcolor", 642, 332, [1, 4, 30]], [4, "plus2", 719, 332, [3, 5, 6]], [5, "color", 773, 332, [4, null]], [6, ["number", 2], 773, 374, [4, null]], [7, "setxy", 642, 408, [30, 8, 9, 28]], [8, ["number", 0], 700, 408, [7, null]], [9, "minus2", 700, 450, [7, 10, 11]], [10, ["number", 0], 754, 450, [9, null]], [11, "box1", 778, 496, [9, null]], [12, "seth", 642, 526, [28, 13, 14]], [13, ["number", 270], 741, 526, [12, null]], [14, "arc", 642, 568, [12, 15, 16, 17]], [15, ["number", 360], 700, 568, [14, null]], [16, "box1", 700, 610, [14, null]], [17, "setxy", 642, 652, [14, 18, 19, 29]], [18, ["number", 400], 700, 652, [17, null]], [19, "minus2", 700, 694, [17, 20, 21]], [20, "box1", 754, 694, [19, null]], [21, ["number", 200], 778, 740, [19, null]], [22, "forward", 642, 770, [29, 23, 24]], [23, ["number", 800], 713, 770, [22, null]], [24, "storeinbox1", 642, 812, [22, 25, null]], [25, "plus2", 760, 812, [24, 26, 27]], [26, "box1", 814, 812, [25, null]], [27, ["number", 4], 814, 854, [25, null]], [28, ["vspace", 0], 642, 492, [7, 12]], [29, ["vspace", 0], 642, 736, [17, 22]], [30, ["vspace", 0], 642, 374, [3, 7]], [31, "clean", 264, 217, [76, 32]], [32, "setpensize", 264, 251, [31, 33, 34]], [33, ["number", 2], 366, 251, [32, null]], [34, "storeinbox1", 264, 293, [32, 35, 36]], [35, ["number", 100], 382, 293, [34, null]], [36, "setcolor", 264, 335, [34, 37, 38]], [37, ["number", 0], 341, 335, [36, null]], [38, "setxy", 264, 377, [36, 39, 40, 41]], [39, ["number", 400], 322, 377, [38, null]], [40, ["number", -200], 322, 419, [38, null]], [41, "seth", 264, 461, [38, 42, 43]], [42, ["number", 270], 363, 461, [41, null]], [43, "forward", 264, 503, [41, 44, 45]], [44, ["number", 800], 335, 503, [43, null]], [45, "setxy", 264, 545, [43, 46, 47, 48]], [46, ["number", 0], 322, 545, [45, null]], [47, ["number", 0], 322, 587, [45, null]], [48, "forward", 264, 629, [45, 49, 50]], [49, ["number", 0], 335, 629, [48, null]], [50, "stack1", 264, 671, [48, 51]], [51, "stack2", 264, 705, [50, null]], [52, "hat2", 945, 186, [null, 78]], [53, "setcolor", 945, 270, [78, 54, 55]], [54, ["number", 0], 1022, 270, [53, null]], [55, "storeinbox2", 945, 312, [53, 56, 57]], [56, ["number", -300], 1063, 312, [55, null]], [57, "repeat", 945, 354, [55, 58, 59, 80]], [58, ["number", 601], 996, 354, [57, null]], [59, "setxy", 1010, 414, [57, 60, 62, 69]], [60, "box2", 1068, 414, [59, null]], [61, ["identity2", 40], 1310, 456, [63, 64]], [62, "division2", 1068, 456, [59, 77, 68]], [63, "minus2", 1256, 456, [77, 61, 67]], [64, "product2", 1444, 456, [61, 65, 66]], [65, "box2", 1498, 456, [64, null]], [66, "box2", 1498, 498, [64, null]], [67, ["number", 40000], 1334, 502, [63, null]], [68, ["number", 400], 1146, 502, [62, null]], [69, ["vspace", 0], 1010, 498, [59, 70]], [70, "forward", 1010, 532, [69, 71, 72]], [71, ["number", 0], 1081, 532, [70, null]], [72, "storeinbox2", 1010, 574, [70, 73, null]], [73, "plus2", 1128, 574, [72, 74, 75]], [74, "box2", 1182, 574, [73, null]], [75, ["number", 1], 1182, 616, [73, null]], [76, "start", 264, 175, [null, 31]], [77, ["identity2", 40], 1122, 456, [62, 63]], [78, "sandwichtop", 927, 228, [52, 79, 53]], [79, ["string", "exponential"], 1030, 228, [78, null]], [80, ["sandwichcollapsed", 1], 945, 270, [57, null]], [81, "sandwichtop", 559, 230, [0, 82, 1]], [82, ["string", "tangents"], 662, 230, [81, null]], [83, ["sandwichcollapsed", 1], 577, 272, [1, null]], [-1, ["turtle", 1], 300, 125, 270.0, 0.0, 50, 2.0]] \ No newline at end of file
diff --git a/samples/tree.ta b/samples/tree.ta
index c01dc0a..552b12d 100644
--- a/samples/tree.ta
+++ b/samples/tree.ta
@@ -1 +1 @@
-[[0, "division", 82, 93, [null, null]], [1, "hat1", 510, 28, [null, 2]], [2, "pendown", 522, 78, [1, 3]], [3, "if", 522, 117, [2, 4, 7, 9]], [4, "greater", 602, 127, [3, 5, 6, null]], [5, "box1", 634, 136, [4, null]], [6, ["number", "10"], 783, 136, [4, null]], [7, "hspace", 617, 182, [3, 8]], [8, "hspace", 708, 181, [7, 32]], [9, "storeinbox2", 522, 232, [3, 10, 12]], [10, "random", 596, 230, [9, 11, 49, null]], [11, ["number", "0"], 624, 249, [10, null]], [12, "if", 522, 286, [9, 13, 15, null]], [13, "equal", 602, 296, [12, 14, 48, null]], [14, "box2", 634, 305, [13, null]], [15, "penup", 617, 360, [12, 16]], [16, "forward", 617, 399, [15, 69, 17]], [17, "setcolor", 617, 438, [16, 18, 19]], [18, ["number", "40"], 691, 455, [17, null]], [19, "setpensize", 617, 492, [17, 20, 21]], [20, ["number", "20"], 691, 509, [19, null]], [21, "forward", 617, 546, [19, 22, 23]], [22, ["number", "1"], 691, 555, [21, null]], [23, "pendown", 617, 585, [21, 24]], [24, "back", 617, 624, [23, 25, 26]], [25, ["number", "1"], 691, 633, [24, null]], [26, "setcolor", 617, 663, [24, 27, 28]], [27, ["number", "10"], 691, 680, [26, null]], [28, "setpensize", 617, 717, [26, 29, 30]], [29, ["number", "5"], 691, 734, [28, null]], [30, "penup", 617, 771, [28, 31]], [31, "back", 617, 810, [30, 66, null]], [32, "hspace", 799, 180, [8, 33]], [33, "forward", 890, 188, [32, 34, 35]], [34, "box1", 964, 197, [33, null]], [35, "storeinbox1", 890, 227, [33, 63, 36]], [36, "right", 890, 281, [35, 37, 38]], [37, ["number", "30"], 964, 290, [36, null]], [38, "stack1", 890, 320, [36, 39]], [39, "left", 890, 359, [38, 40, 41]], [40, ["number", "60"], 964, 368, [39, null]], [41, "stack1", 890, 398, [39, 42]], [42, "right", 890, 437, [41, 43, 44]], [43, ["number", "30"], 964, 446, [42, null]], [44, "storeinbox1", 890, 476, [42, 60, 45]], [45, "penup", 890, 530, [44, 46]], [46, "back", 890, 569, [45, 47, null]], [47, "box1", 964, 578, [46, null]], [48, ["number", "0"], 783, 305, [13, null]], [49, ["number", "2"], 746, 249, [10, null]], [50, "clean", 297, 88, [59, 51]], [51, "setxy", 297, 127, [50, 52, 53, 54]], [52, ["number", "0"], 371, 136, [51, null]], [53, ["number", "-400"], 371, 173, [51, null]], [54, "storeinbox1", 297, 203, [51, 55, 56]], [55, ["number", "300"], 371, 220, [54, null]], [56, "setcolor", 297, 257, [54, 57, 58]], [57, ["number", "10"], 371, 274, [56, null]], [58, "stack1", 297, 311, [56, null]], [59, "start", 285, 38, [null, 50]], [60, "product2", 964, 469, [44, 61, 62]], [61, "box1", 1004, 477, [60, null]], [62, ["number", "1.5"], 1004, 510, [60, null]], [63, "division2", 964, 220, [35, 64, 65]], [64, "box1", 1004, 228, [63, null]], [65, ["number", "1.5"], 1023, 261, [63, null]], [66, "division2", 691, 795, [31, 67, 68]], [67, "box1", 731, 803, [66, null]], [68, ["number", "2"], 750, 836, [66, null]], [69, "division2", 691, 384, [16, 70, 71]], [70, "box1", 731, 392, [69, null]], [71, ["number", "2"], 750, 425, [69, null]], [-1, "turtle", -8.5265128291212022e-14, -400.00000000000011, 0.0, 10.0, 50, 5.0]] \ No newline at end of file
+[[0, "hat1", 840, 58, [null, 1]], [1, "pendown", 840, 100, [0, 68]], [2, "if", 840, 168, [68, 3, 70, 71]], [3, "greater2", 878, 134, [2, 4, 5, null]], [4, "box1", 924, 134, [3, null]], [5, ["number", 10], 924, 176, [3, null]], [6, "storeinbox2", 840, 288, [71, 7, 72]], [7, "random", 958, 288, [6, 8, 45, null]], [8, ["number", 0], 1044, 288, [7, null]], [9, "if", 840, 364, [72, 10, 12, null]], [10, "equal2", 878, 330, [9, 11, 44, null]], [11, "box2", 924, 330, [10, null]], [12, "penup", 892, 432, [9, 13]], [13, "forward", 892, 466, [12, 65, 73]], [14, "setcolor", 892, 542, [73, 15, 16]], [15, ["number", 40], 969, 542, [14, null]], [16, "setpensize", 892, 584, [14, 17, 18]], [17, ["number", 20], 994, 584, [16, null]], [18, "forward", 892, 626, [16, 19, 20]], [19, ["number", 1], 963, 626, [18, null]], [20, "pendown", 892, 668, [18, 21]], [21, "back", 892, 702, [20, 22, 23]], [22, ["number", 1], 950, 702, [21, null]], [23, "setcolor", 892, 744, [21, 24, 25]], [24, ["number", 10], 969, 744, [23, null]], [25, "setpensize", 892, 786, [23, 26, 27]], [26, ["number", 5], 994, 786, [25, null]], [27, "penup", 892, 828, [25, 28]], [28, "back", 892, 862, [27, 62, null]], [29, "forward", 485, 217, [69, 30, 31]], [30, "box1", 556, 217, [29, null]], [31, "storeinbox1", 485, 259, [29, 59, 74]], [32, "right", 485, 335, [74, 33, 34]], [33, ["number", 30], 543, 335, [32, null]], [34, "stack1", 485, 377, [32, 35]], [35, "left", 485, 411, [34, 36, 37]], [36, ["number", 60], 543, 411, [35, null]], [37, "stack1", 485, 453, [35, 38]], [38, "right", 485, 487, [37, 39, 40]], [39, ["number", 30], 543, 487, [38, null]], [40, "storeinbox1", 485, 529, [38, 56, 41]], [41, "penup", 485, 571, [40, 42]], [42, "back", 485, 605, [41, 43, null]], [43, "box1", 543, 605, [42, null]], [44, ["number", 0], 924, 372, [10, null]], [45, ["number", 2], 1044, 330, [7, null]], [46, "clean", 227, 220, [55, 47]], [47, "setxy", 227, 254, [46, 48, 49, 50]], [48, ["number", 0], 285, 254, [47, null]], [49, ["number", -400], 285, 296, [47, null]], [50, "storeinbox1", 227, 338, [47, 51, 52]], [51, ["number", 300], 345, 338, [50, null]], [52, "setcolor", 227, 380, [50, 53, 54]], [53, ["number", 10], 304, 380, [52, null]], [54, "stack1", 227, 422, [52, null]], [55, "start", 227, 178, [null, 46]], [56, "product2", 603, 529, [40, 57, 58]], [57, "box1", 657, 529, [56, null]], [58, ["number", 1.5], 657, 571, [56, null]], [59, "division2", 603, 259, [31, 60, 61]], [60, "box1", 657, 259, [59, null]], [61, ["number", 1.5], 681, 305, [59, null]], [62, "division2", 950, 862, [28, 63, 64]], [63, "box1", 1004, 862, [62, null]], [64, ["number", 2], 1028, 908, [62, null]], [65, "division2", 963, 466, [13, 66, 67]], [66, "box1", 1017, 466, [65, null]], [67, ["number", 2], 1041, 512, [65, null]], [68, ["vspace", 0], 840, 134, [1, 2]], [69, "hat2", 485, 175, [null, 29]], [70, "stack2", 892, 236, [2, null]], [71, ["vspace", 0], 840, 254, [2, 6]], [72, ["vspace", 0], 840, 330, [6, 9]], [73, ["vspace", 0], 892, 508, [13, 14]], [74, ["vspace", 0], 485, 301, [31, 32]], [-1, ["turtle", 1], 0, -400, 0.0, 10.0, 50, 5.0]] \ No newline at end of file
diff --git a/samples/xo-child.ta b/samples/xo-child.ta
index 5f733ac..bbe3292 100644
--- a/samples/xo-child.ta
+++ b/samples/xo-child.ta
@@ -1 +1 @@
-[[0, "clean", 227, 73, [1, 51]], [1, "start", 215, 23, [null, 0]], [2, "hat2", 220, 328, [null, 3]], [3, "setcolor", 232, 378, [2, 4, 7]], [4, "random", 306, 376, [3, 5, 6, null]], [5, ["number", "0"], 334, 395, [4, null]], [6, ["number", "100"], 456, 395, [4, null]], [7, "setpensize", 232, 432, [3, 8, 9]], [8, ["number", "40"], 306, 449, [7, null]], [9, "stack1", 232, 486, [7, 10]], [10, "setcolor", 232, 525, [9, 11, 14]], [11, "plus2", 306, 518, [10, 12, 13]], [12, "color", 346, 526, [11, null]], [13, ["number", "10"], 346, 559, [11, null]], [14, "setpensize", 232, 579, [10, 15, 18]], [15, "minus2", 306, 572, [14, 16, 17]], [16, "pensize", 346, 580, [15, null]], [17, ["number", "25"], 365, 613, [15, null]], [18, "stack1", 232, 633, [14, null]], [19, "hat1", 685, 19, [null, 20]], [20, "left", 697, 69, [19, 21, 22]], [21, ["number", "45"], 771, 78, [20, null]], [22, "repeat", 697, 108, [20, 23, 24, 30]], [23, ["number", "4"], 783, 117, [22, null]], [24, "forward", 792, 157, [22, 25, 26]], [25, ["number", "75"], 866, 166, [24, null]], [26, "back", 792, 196, [24, 27, 28]], [27, ["number", "75"], 866, 205, [26, null]], [28, "left", 792, 235, [26, 29, null]], [29, ["number", "90"], 866, 244, [28, null]], [30, "vspace", 697, 198, [22, 31]], [31, "right", 697, 267, [30, 32, 33]], [32, ["number", "45"], 771, 276, [31, null]], [33, "penup", 697, 306, [31, 34]], [34, "forward", 697, 345, [33, 35, 36]], [35, ["number", "90"], 771, 354, [34, null]], [36, "pendown", 697, 384, [34, 37]], [37, "setpensize", 697, 423, [36, 45, 38]], [38, "forward", 697, 477, [37, 39, 40]], [39, ["number", "1"], 771, 486, [38, null]], [40, "penup", 697, 516, [38, 41]], [41, "back", 697, 555, [40, 42, 43]], [42, ["number", "91"], 771, 564, [41, null]], [43, "pendown", 697, 594, [41, 44]], [44, "setpensize", 697, 633, [43, 48, null]], [45, "plus2", 771, 416, [37, 46, 47]], [46, "pensize", 811, 424, [45, null]], [47, ["number", "35"], 811, 457, [45, null]], [48, "minus2", 771, 626, [44, 49, 50]], [49, "pensize", 811, 634, [48, null]], [50, ["number", "35"], 830, 667, [48, null]], [51, "repeat", 227, 112, [0, 52, 53, null]], [52, ["number", "500"], 313, 121, [51, null]], [53, "penup", 322, 161, [51, 54]], [54, "setxy", 322, 200, [53, 55, 58, 61]], [55, "random", 396, 190, [54, 56, 57, null]], [56, ["number", "-600"], 424, 209, [55, null]], [57, ["number", "600"], 546, 209, [55, null]], [58, "random", 396, 227, [54, 59, 60, null]], [59, ["number", "-450"], 424, 246, [58, null]], [60, ["number", "450"], 546, 246, [58, null]], [61, "pendown", 322, 276, [54, 62]], [62, "stack2", 322, 315, [61, null]], [-1, "turtle", 465.0, -215.00000000000003, 0.0, 18.0, 50, 15.0]] \ No newline at end of file
+[[0, "clean", 328, 217, [1, 51]], [1, "start", 328, 175, [null, 0]], [2, "hat2", 331, 514, [null, 3]], [3, "setcolor", 331, 556, [2, 4, 60]], [4, "random", 408, 556, [3, 5, 6, null]], [5, ["number", 0], 494, 556, [4, null]], [6, ["number", 100], 494, 598, [4, null]], [7, "setpensize", 331, 632, [60, 8, 9]], [8, ["number", 40], 433, 632, [7, null]], [9, "stack1", 331, 674, [7, 10]], [10, "setcolor", 331, 708, [9, 11, 61]], [11, "plus2", 408, 708, [10, 12, 13]], [12, "color", 462, 708, [11, null]], [13, ["number", 10], 462, 750, [11, null]], [14, "setpensize", 331, 784, [61, 15, 18]], [15, "minus2", 433, 784, [14, 16, 17]], [16, "pensize", 487, 784, [15, null]], [17, ["number", 25], 511, 830, [15, null]], [18, "stack1", 331, 826, [14, null]], [19, "hat1", 857, 107, [null, 20]], [20, "left", 857, 149, [19, 21, 22]], [21, ["number", 45], 915, 149, [20, null]], [22, "repeat", 857, 191, [20, 23, 24, 30]], [23, ["number", 4], 908, 191, [22, null]], [24, "forward", 922, 251, [22, 25, 26]], [25, ["number", 75], 993, 251, [24, null]], [26, "back", 922, 293, [24, 27, 28]], [27, ["number", 75], 980, 293, [26, null]], [28, "left", 922, 335, [26, 29, null]], [29, ["number", 90], 980, 335, [28, null]], [30, ["vspace", 40], 857, 269, [22, 31]], [31, "right", 857, 383, [30, 32, 33]], [32, ["number", 45], 915, 383, [31, null]], [33, "penup", 857, 425, [31, 34]], [34, "forward", 857, 459, [33, 35, 36]], [35, ["number", 90], 928, 459, [34, null]], [36, "pendown", 857, 501, [34, 37]], [37, "setpensize", 857, 535, [36, 45, 59]], [38, "forward", 857, 611, [59, 39, 40]], [39, ["number", 1], 928, 611, [38, null]], [40, "penup", 857, 653, [38, 41]], [41, "back", 857, 687, [40, 42, 43]], [42, ["number", 91], 915, 687, [41, null]], [43, "pendown", 857, 729, [41, 44]], [44, "setpensize", 857, 763, [43, 48, null]], [45, "plus2", 959, 535, [37, 46, 47]], [46, "pensize", 1013, 535, [45, null]], [47, ["number", 35], 1013, 577, [45, null]], [48, "minus2", 959, 763, [44, 49, 50]], [49, "pensize", 1013, 763, [48, null]], [50, ["number", 35], 1037, 809, [48, null]], [51, "repeat", 328, 251, [0, 52, 53, null]], [52, ["number", 500], 379, 251, [51, null]], [53, "penup", 393, 311, [51, 54]], [54, "setxy", 393, 345, [53, 62, 56, 57]], [55, "random", 625, 345, [62, 63, 64, null]], [56, "random", 451, 387, [54, 65, 66, null]], [57, "pendown", 393, 429, [54, 58]], [58, "stack2", 393, 463, [57, null]], [59, ["vspace", 0], 857, 577, [37, 38]], [60, ["vspace", 0], 331, 598, [3, 7]], [61, ["vspace", 0], 331, 750, [10, 14]], [62, ["identity2", 60], 451, 345, [54, 55]], [63, "leftpos", 711, 345, [55, null]], [64, "rightpos", 711, 387, [55, null]], [65, "bottompos", 537, 387, [56, null]], [66, "toppos", 537, 429, [56, null]], [-1, ["turtle", 1], -6, -306, 225.0, 82, 50, 40.0]] \ No newline at end of file
diff --git a/samples/xo-man.ta b/samples/xo-man.ta
deleted file mode 100644
index 5f733ac..0000000
--- a/samples/xo-man.ta
+++ /dev/null
@@ -1 +0,0 @@
-[[0, "clean", 227, 73, [1, 51]], [1, "start", 215, 23, [null, 0]], [2, "hat2", 220, 328, [null, 3]], [3, "setcolor", 232, 378, [2, 4, 7]], [4, "random", 306, 376, [3, 5, 6, null]], [5, ["number", "0"], 334, 395, [4, null]], [6, ["number", "100"], 456, 395, [4, null]], [7, "setpensize", 232, 432, [3, 8, 9]], [8, ["number", "40"], 306, 449, [7, null]], [9, "stack1", 232, 486, [7, 10]], [10, "setcolor", 232, 525, [9, 11, 14]], [11, "plus2", 306, 518, [10, 12, 13]], [12, "color", 346, 526, [11, null]], [13, ["number", "10"], 346, 559, [11, null]], [14, "setpensize", 232, 579, [10, 15, 18]], [15, "minus2", 306, 572, [14, 16, 17]], [16, "pensize", 346, 580, [15, null]], [17, ["number", "25"], 365, 613, [15, null]], [18, "stack1", 232, 633, [14, null]], [19, "hat1", 685, 19, [null, 20]], [20, "left", 697, 69, [19, 21, 22]], [21, ["number", "45"], 771, 78, [20, null]], [22, "repeat", 697, 108, [20, 23, 24, 30]], [23, ["number", "4"], 783, 117, [22, null]], [24, "forward", 792, 157, [22, 25, 26]], [25, ["number", "75"], 866, 166, [24, null]], [26, "back", 792, 196, [24, 27, 28]], [27, ["number", "75"], 866, 205, [26, null]], [28, "left", 792, 235, [26, 29, null]], [29, ["number", "90"], 866, 244, [28, null]], [30, "vspace", 697, 198, [22, 31]], [31, "right", 697, 267, [30, 32, 33]], [32, ["number", "45"], 771, 276, [31, null]], [33, "penup", 697, 306, [31, 34]], [34, "forward", 697, 345, [33, 35, 36]], [35, ["number", "90"], 771, 354, [34, null]], [36, "pendown", 697, 384, [34, 37]], [37, "setpensize", 697, 423, [36, 45, 38]], [38, "forward", 697, 477, [37, 39, 40]], [39, ["number", "1"], 771, 486, [38, null]], [40, "penup", 697, 516, [38, 41]], [41, "back", 697, 555, [40, 42, 43]], [42, ["number", "91"], 771, 564, [41, null]], [43, "pendown", 697, 594, [41, 44]], [44, "setpensize", 697, 633, [43, 48, null]], [45, "plus2", 771, 416, [37, 46, 47]], [46, "pensize", 811, 424, [45, null]], [47, ["number", "35"], 811, 457, [45, null]], [48, "minus2", 771, 626, [44, 49, 50]], [49, "pensize", 811, 634, [48, null]], [50, ["number", "35"], 830, 667, [48, null]], [51, "repeat", 227, 112, [0, 52, 53, null]], [52, ["number", "500"], 313, 121, [51, null]], [53, "penup", 322, 161, [51, 54]], [54, "setxy", 322, 200, [53, 55, 58, 61]], [55, "random", 396, 190, [54, 56, 57, null]], [56, ["number", "-600"], 424, 209, [55, null]], [57, ["number", "600"], 546, 209, [55, null]], [58, "random", 396, 227, [54, 59, 60, null]], [59, ["number", "-450"], 424, 246, [58, null]], [60, ["number", "450"], 546, 246, [58, null]], [61, "pendown", 322, 276, [54, 62]], [62, "stack2", 322, 315, [61, null]], [-1, "turtle", 465.0, -215.00000000000003, 0.0, 18.0, 50, 15.0]] \ No newline at end of file