Update simulation.cpp
Merge pull request #8 from rachelwang/master

Update simulation.cpp