A pattern-matching algorithm for two-dimensional coordinate lists | Synapse