Added solution to Problem 34