working. added longest palindrome

added comments to all of the programs