def _create_matrix(self, byte_list):
<EOL>cells = int(self.rows * self.cols / <NUM_LIT:2> + self.cols % <NUM_LIT:2>)<EOL>matrix = [[False] * self.cols for num in range(self.rows)]<EOL>for cell_number in range(cells):<EOL><INDENT>if self._bit_is_one(cell_number, byte_list[<NUM_LIT:1>:]):<EOL><INDENT>x_row = cell_number % self.rows<EOL>y_col = int(cell_number / self.cols)<EOL>matrix[x_row][self.cols - y_col - <NUM_LIT:1>] = True<EOL>matrix[x_row][y_col] = True<EOL><DEDENT><DEDENT>return matrix<EOL>
This matrix decides which blocks should be filled fg/bg colour
True for fg_colour
False for bg_colour

hash_bytes - array of hash bytes values. RGB range values in each slot

Returns:
    List representation of the matrix
    [[True, True, True, True],
    [False, True, True, False],
    [True, True, True, True],
    [False, False, False, False]]