Comments, comments, comments.

Commented most parts of the program.