def make_holes(col1, row1, col2, row2, vertical, horizontal):
    all_lists = []
    list = []
    for row in range(row1, horizontal):
        if has_horizontal_empty(vertical, row):
            list.append((vertical, row))
    if (len(list) > 0):
        all_lists.append(list)
    list = []
    for row in range((horizontal + 1), row2):
        if has_horizontal_empty(vertical, row):
            list.append((vertical, row))
    if (len(list) > 0):
        all_lists.append(list)
    list = []
    for col in range(col1, vertical):
        if has_vertical_empty(col, horizontal):
            list.append((col, horizontal))
    if (len(list) > 0):
        all_lists.append(list)
    list = []
    for col in range((vertical + 1), col2):
        if has_vertical_empty(col, horizontal):
            list.append((col, horizontal))
    if (len(list) > 0):
        all_lists.append(list)
    if (len(all_lists) == 4):
        item_index_to_remove = random.randint(0, 3)
        del all_lists[item_index_to_remove]
    for sub_list in all_lists:
        (hole_col, hole_row) = sub_list[random.randint(0, (len(sub_list) - 1))]
        draw_cell(EMPTY_CELL_COLOR, hole_col, hole_row)
        grid[(hole_col, hole_row)] = EMPTY
def make_holes(col1, row1, col2, row2, vertical, horizontal):
    all_lists = []
    list = []
    for row in range(row1, horizontal):
        if has_horizontal_empty(vertical, row):
            list.append((vertical, row))
    if (len(list) > 0):
        all_lists.append(list)
    list = []
    for row in range((horizontal + 1), row2):
        if has_horizontal_empty(vertical, row):
            list.append((vertical, row))
    if (len(list) > 0):
        all_lists.append(list)
    list = []
    for col in range(col1, vertical):
        if has_vertical_empty(col, horizontal):
            list.append((col, horizontal))
    if (len(list) > 0):
        all_lists.append(list)
    list = []
    for col in range((vertical + 1), col2):
        if has_vertical_empty(col, horizontal):
            list.append((col, horizontal))
    if (len(list) > 0):
        all_lists.append(list)
    if (len(all_lists) == 4):
        item_index_to_remove = random.randint(0, 3)
        del all_lists[item_index_to_remove]
    for sub_list in all_lists:
        (hole_col, hole_row) = sub_list[random.randint(0, (len(sub_list) - 1))]
        draw_cell(EMPTY_CELL_COLOR, hole_col, hole_row)
        grid[(hole_col, hole_row)] = EMPTY