added solution to problem 32