Regular Expression Matching Leetcode Python Answers