Basic matching algorithms, matched items remain in place