Submission for prog assign 2