Sixth Commit

Recommented and tidied up the code. New feature was added. See ReadMe
for details.