def bool_to_int(matrix):
    """
    I find it much easier to read 0s and 1s than boolean words, so I wrote this helper function.

    :param matrix: A matrix to translate to integers.
    :return: A matrix of integers.
    """
    for row in range(len(matrix)):
        for col in range(len(matrix[0])):
            matrix[row][col] = int(matrix[row][col])
    return matrix