Adding my Programming Assignement 2 solutions