Added more comments.

We added more comments to make it easier to understand.