1. Refactoring PalindromeDetector and test
2. Exercise 36