added deck, card and hand functionality