Project Euler, Problem 100, Java brute force - not effective