Added solution to Problem #27.