Problem 1

working on problem 1.