added solution to problem 87