Homework for simulating gas station