add python solution for Project Euler problem 27