Edited displayCard to take faceUp boolean as an input