Added table to illustrate max sum scan algorithm