added function buildPlayerDeck