added comments and tidied up code
added diary.txt