function matching game with a 4x3 grid