Submission for Prog Assignment 2