pingxia version

minimal version with tick() event implemented.
doctor() and patient() events involve comparing busy or free doctors
and waiting time etc.