Finished

Completed the third problem