Palindrome-check implemented