isPalindrome() function

use: return true (1) if string is Palindrome. false (0) otherwise.