Finished Problem 2

Finalized Second Problem