Commit the solution to problem 3