Naive algorithm performance comparison, using the "Palindrome" problem.