Project Euler java classes