C programing|Exercise 8 - isPalindrome