working matching game with scoring

implemented game logic