Solution for Problem #55