Solutions for Project Euler problems