changes deck of cards into array of hashes