pythagorean theorem converse and classifying triangles