Project Euler, Problem 33, Java, readability