A genetic algorithm to learn if we should wait for a table (Assignment)