Create a new string with duplicates of each character in the original string and append the reverse of the same string (with duplicates) excluding the last character