Solved Problem 36.
Created tests and corrected algorithm for finding palindromes.