CMPS101: Programming Assignment 2