Animated Arrow

Illustration Credit
You can inspect the code which creates the animated arrow here. You will notice the use of the variable x, the use of an if statement, and the recursive call to the function arrow. (A recursive function is a function which calls itself. The if statement tells the function when to stop calling itself. You will notice that each time the function calls itself that it calls itself with a different value for x). BTW, to run this program you type its name followed by a value (for instance, arrow -100). ASSIGNMENT
Your assignment will be to create a little cube which moves from the bottom of the page to the top. This should be fairly simple given the example, but it will be a good exercise just the same.