A palindrome is a word that is identical forward and backwards.
Given a word, create a function that checks whether it is a palindrome.
checkPalindrome("mom") ➞ true
checkPalindrome("scary") ➞ false
checkPalindrome("reviver") ➞ true
checkPalindrome("stressed") ➞ false
All test input is lower cased.