Created Card and Deck class with all necessary operations.