Added the pythagorean theorem class