added Deck class with unittest