Create timer.rb

added ruby timer alternative