PGM07B - Program to check if the given string is a palindrome