I need to create a two-dimensional array Class. I've done a work, but discovered that my class simply has an inner two-dim array, and to access the elements I have to write a redundant word 'table':

```
class Table
  attr_accessor :table
  def initialize(w,h)
    @table = Array.new(h)
    h.times do @table << Array.new(w) 
  end
end

x = Table.new(10,10)
x.table[5][6] = 'example'

```

and so on. The idea is that I want to write only `x[5][6]` at once, to access elements. As far as I understand, I have to inherit the Array class, and extend it somehow to behave as an two-dim array. If I'm right - how do I do that?