Added solution to problem 87