Generate random matchings for a gift exchange, ensuring people don't swap with their spouse