Order process simulator in python