class Table
def initialize(v, h)
@v = v; @h = h
@array = Array.new
v.times do |i|
@array[i] = Array.new(h, 0)
end
end

def show
print "Table status\n"
@v.times do |i|
@h.times do |j|
print @array[i][j], "\s"
end
print "\n"
end
end

def reset
v.times do |i|
h.times do |j|
@array[i][j] = 0
end
end
print "Table is reset, \n"
end
end