added find all palindromes algorithm