Euler Java 8