Finished Problem 1 - 3.