Hostaway Interview Question

Implement isPalindrome function (leetcode style)