namespace sim, renamed semaphore back to guard
sim.rb
remove debug output