complet with bonus.  added additional palindrome solution that uses recursion (learned from a book)