Problem 1

Finished problem 1