Create week 14 right triangle,java