Pythagorean Triples

Algorithm to check if triangle is a Pythagorean Triple