Regular Expression Matching DP unfinished