Turn some asserts into CHECKs, and make input a flag.
Merge branch 'master' of github.com:frankli714/mesos-simulation