Some of the Project Euler problems solved in Java