Problem number 2

Completed problem 2 with out the solution.