Add the Set Game logic in the flipCardAtIndex method