Project Euler & HackerRank Python programming soutions