Working palindrome generator (albiet slow, approx 15 min to generate entire set)