The Pythagorean Theorem and its Converse