Source code for this project is on sourceforge, here.
The first thing about this project is that it requires several images. It is a very simple way of cycling through sprites. To work with these images, we will simply have an array containing each image's GUID.
The function that handles the image cycling is very simple. All it does is wait for a keyboard stroke. If it senses the up or down arrow, it will point to the next image in the given direction.
The main function does a basic error check, displays the directions, and calls the function that deals with image cycling.