Removed quotes for printlns and added check method isPythagoreanTriple