def r
  rand(10000)
end

STDOUT << .tap do |html|
  html << 
  [
    ['X', 'Y', 'Z'],
    [r ,r ,r],
    [r ,r ,r],
    [r ,r ,r],
    [r ,r ,r]

  ].each_with_index do |row, index|
    html << 
    html << 
    html << row.map { |e| }.join
    html << 
  end

  html << 
end