Submitting Problem 2

Solution to Problem 2 =]