Rectified some typos.

1.  Added if __name__ == '__main__': in palindrome function
2. Fixed indentation problem in f(a, data=None) in Default argument value.