Invia SMS: Proofs and generalizations of the pythagorean theorem