PYTHAGOREAN THEOREM