finished 2 of 3 on problem 1 and working on problem 2