added more comments [skip ci]
updated tests to check results
Merge pull request #3 from tlivings/master

comments and tests.