brute force solution to pythagorean-triplet
90% performance improvement of create function by calculating check digit instead of trial and error