aqui una imagen:

Aqui dejo el codigo que he avanzado hasta el momento que es de llenar la matriz con numeros aleatorios.
PUBLIC
Código PHP:
Const filas = 7, colum = 7
Dim matriz(filas, colum) As Short
Código PHP:
Sub llenar()
Randomize()
For x As Short = 1 To filas
For y As Short = 1 To colum
matriz(x, y) = CInt(Rnd() * 20)
Next
Next
End Sub
Código PHP:
Sub mostrar()
dgvlista.RowCount = filas
dgvlista.ColumnCount = colum
For x As Short = 1 To filas
For y As Short = 1 To colum
dgvlista.Rows(x - 1).Cells(y - 1).Value = matriz(x, y)
Next
Next
End Sub