Solutions to "Euler problems" using lambdas with Java 8