Implemented simple simulator with demo case