comments and calling

added comments and other bits of the program that will be needed.
Merge pull request #2 from AlwinHughes/patch-1

comments and calling