A variety of Project Euler solutions in Java