A python based coffee machine simulator