Regular Expression Matching - Hard Python 2-D Dynamic Programming Interview Problem | Unnested