Solved: Checking if given string is a Palindrome