Source code for Assignment 2 - CMPE 273