Started on problem 3