A recursive approach for palindrome detecter is added according to Book