Implement begin and end methods on the MatchData

Hi @mudge 

Here's the begin() and end() implementation for the MatchData. Let me know if it's OK!

Jason