Solutions for project Euler