Updated deck.cpp