Pythagorean Theorem and Its Converse