Question 4 - created valid combos and isPalindrome function