Solutions to Euler Problems in Java