Strings: IsPalindrome problem

Implementation of IsPalindrome problem in Python.