add palindrome to algorithm libary