Palindrome assignment for Android Apprentice class