add python solution for Project Euler problem 23