$ bundle install
$ ruby simulate.rb
When you do this a graphic will be generated to the tmp
directory with the simulation results and if you're on a mac or linux machine the image will pop up.
Simulate multiple threads:
$ THREAD_COUNT=5 ruby simulate.rb
Look at the environment variables at the top of simulate.rb
for more options.