My project Euler written in java.