Problem 26 (python): improved efficiency
Problem 29 (python): solved