Add single variable implementation of Matcher
Add unit test for SingleVariablePatternMatcher