Largest palindrome method
Find max factor method