homework assignment 2 part 1 304168