Project Euler problem solutions written in Java (1.7.0)