Improve is_palindrome function
Merge pull request #13 from MikeDelaney/work_8-21

Improve is_palindrome function