Code solutions for math problems from Project Euler