Putting do-while switch in a method within Deck class