Build a memory game with the following functionality
- Counter with the total number of moves
- clear cards after 2 have been selected
- if there are 2 cards open, check if they match. If they match, keep them flipped
- check if there is a winner and show an alert
alert("you won!")