added solution for Problem 89