How does it work? It seems like a mathematical genius to have a single match between every pair of cards.... HOW???