Got C palindromes program working