The Pythagorean Theorem: A 4,000-Year History