#8, #3: Added sphinx comments. Added generate_hashfile().
#9: Added tests of the checksum generator.
Fixed bugs in checksum generator found during testing. Closes #8.