Mobile Numeric Keypad Problem Leetcode Python Basic Programs