Solutions for Project Euler challenges