adding card and deck class methods