working implementation of a price fixer for a market with multiple goods