Added solution to Problem 14.