adding new method for looking for palindrome at given location; +tests
refactoring palindrome search to single method