def has_horizontal_empty(col, row):
    return has_horizontal_neighbours(col, row, [EMPTY, INITIAL, TERMINAL])
def has_horizontal_empty(col, row):
    return has_horizontal_neighbours(col, row, [EMPTY, INITIAL, TERMINAL])