Project Euler, Problem 34, Java, not realy but you can read the result after a few ms also the program will not terminate