First edition of matching algorithm

Also comes with built in functions within reunite