Daniel's Problem 7 (haven't run auto grader)