Submission of programming assigment 2