Palindrome String In Python Using A Posixpath