euler 97 solution java