Working Problem 3 and test data