Fix visits and flight_plan to be [] instead of [""] when not specified.
Add some sanity checking in EncodeIndex().
Move table allocation out of FillStateTable1() so that it can be run
through FillStateTable1() multiple times for verification.
More documentation/thoughts on state table size.
Add an empty InitializeStateTable() to remind me to do that.
Start poking at FillStateTableCell(). This approach won't work.
FillStateTable2() cannot just process one cell completely and then move
onto the next. Some types of processing (eg: arriving, selling) have to
be performed to all the cells before the next round of actions (buying).