finished homework for week 1 (term 005)