FINISHED

Huzzah! It works. All the program needs now is some comments and it
should be fine.