got working isPalindrome, trim functions
added done statement