created the deck class