open Level_1; open Level_3; (* =========================================================== *) (* some extra shapes and colors *) fun put2D_1x1_BROWN (x,z) = put2D (1,1) BROWN (x,z); fun put2D_2x2_LIGHTBROWN (x,z) = put2D (2,2) LIGHTBROWN (x,z); fun put2D_3x6_DARKBROWN (x,z) = put2D (3,6) DARKBROWN (x,z); (* =========================================================== *) (* Program below here in Level 1 as usual. *) (* You may call any of the three functions defined above. *) build2D (50,50); put2D_2x2_BLUE(0,0); (* standard Level 1 function call *) put2D_1x1_BROWN(2,0); (* calling a function declared above *) put2D_3x6_DARKBROWN(2,2); (* calling a function declared above *) show2D "adding functions";