Added API to check Palindrome in Constant time Fixes #4