Solutions and commonly used methods in python for Project Euler problems