Solution to the Order Book Programming Problem