Trying to solve Project Euler challenges.