code: def __make_matrix(self, n, val):
          
          matrix = []
          for i in range(n):
              matrix += [[val for j in range(n)]]
          return matrix
docs: Create an *n*x*n* matrix, populating it with the specific value.