create a program do the ff:
A room w/ 20 by 20 array of tiles.
Inside the room is a mechanical turtle w/ a pen. The turtle accepts input in the ff. method:
1 = pen up
2 = pen down
3 = turn right
4 = turn left
5,no = move forward(where no is the number of tiles to that the turtle will pass
6 = print the content of the array
9 = terminate the program
Initially the turtle is at 0,0, facing south with its pen down. As the turtle moves around the room with its pen down, the floor is marked an *.
The ff input will produce an output like this:
4 * *
5,3 * *
2 * *
3 * *