Solutions for project Euler problems