Java solutions to Project Euler challenges