even fewer iteration for the pythagorean tripples, week 41, java programming

Signed-off-by: Alexander Skjolden <alex@plastboks.net>