added largestPalindromeProduct and its helper isPalindrome, no deletion