Created class Deck, and wrote methods for the Game controler