Fixed the global vaules issue with the marketAgent

Added cook and cashier references into the orders and encapsulated them
there.
List of cashiers (that only contains 1) added to the cookAgent
The rest of the global cashier references in other parts of the code
were not interfered with.