Reworking graphing algorithm.

Writing algorithm for correct calculation of marked boxes.
Correctly calculates range of prices, but need to implement correct
starting point.