Add solution to Regular Expression Matching