Add solution to problem 57