Divided stuff up into functions. Deck shuffling is implemented.