Commented code

Cleaned up the comments so you can see what problems I'm facing, and
what some of the code does.