All tests passed for problem 8