The code for the "Supermarket" example from my Prognet Metoer tutorial