Made improvements to flipACard()