Solved isPalindrome. Way easier than I thought