cleaned up main, caught IllegalStateException thrown when deck runs out of cards
implemented Ryan