Project Euler Problems & Solutions - Java