yuchen's changes

added “looping” option to goodaccelerator_1.rb