made a program that finds the largest palindrome in a string