Commented my code, to some extent.

Minor commenting added.