cmps450 assignment 1 part 2