added demo code to make matching game