ml-003 assignment solutions, pgm-003 assignment 9 solution part 4