review recursive solution for Regular Expression Matching