refactor gigasecond.rb