Matching algorithms

shape