A genetic algorithm to optimize decks.