# Create empty 2 dimensional array x = 1 y = 2 two_dim = Array.new(x + 1) { Array.new(y + 1) } p two_dim