added comments to the code, so that I can hand it in officially
minor edits
wtf.
fixes