This is a discrete time simulation of a coffee machine.