added detailed comments
Merge pull request #1 from aaronplasek/master

added detailed comments