Completed Prog Assignment 2