Production calculator

Follow limestone through every machine to the dispatch gate, or work back from a dispatch target to the limestone it needs.