Added some comments.

Made code more comment-y.