Added comments to code

I improved upon the version 1 comments so that anyone who finds this and
wants to work on it can follow my work  better