Adding Naive matching algorithm.