Pull Request Proj2

Mostly just added comments to make the code clearer.