doing a shuffled deck of cards with a more funcational style