Final submission for homework for week 1

Included some comments but no significant changes beyond that