added comments and written HW pdf