code: def get_array(self, rowBased=True):
          
          if rowBased:
              array = []
              for row in xrange(self._rows):
                  newRow = []
                  for col in xrange(self._columns):
                      newRow.append(self.get_value(col, row))
                  array.append(newRow)
              return array
          return copy.deepcopy(self.matrix)
docs: Return a two dimensional list with the values of the :py:obj:`self`.
  
          :param boolean rowBased: Indicates wether the returned list should be
              row or column based. Has to be True if list[i] should be the i'th
              row, False if list[i] should be the i'th column.
  
          :return:    Returns a list representing the matrix rows
                      containing lists representing the columns for each row.
          :rtype: list