Solutions to problems on Project Euler - written in Java