submitted ruby exercism gigasecond.rb