Added solution to Problem 36