Create valid palindrome(my version)