Solution with speed O(N^3) for finding palindrome
improvement of finding palindrome with speed O(N^2)