Solutions for problems from Project Euler