added InitDeck function