Solutions for some Project Euler problems