a simple memory game using js