DPS916 Assignment 2