Project Euler problems done in java.