added code for problem 55