added a MatchAnalyzer to check children matching results
started work on the matching algorithm