task 4: PythagoreanTheorem finishe
task 5: findRange finished