Added function which check for win, a bug when click on already opened card is fixed
Added function which checks for win, a bug when click on already opened card was fixed