def m_make_matrix(number_rows, number_columns, entry_fn):
    """
    Returns a number_rows x number_columns matrix whose (i,j)th entry is entry_fn(i, j)
    """
    return [[entry_fn(i, j) for j in range(number_columns)] for i in range(number_rows)]