palindrome.generator.js

Given a word, append the fewest number of letters to it to convert it into a palindrome (string is identical to its reverse)