this is a matching game.

i used if statements to change the image identities/keep them flipped when they are matched.