def reject_next_to(env, pos):
    """
    Function to filter out object positions that are right next to
    the agent's starting point
    """

    sx, sy = env.start_pos
    x, y = pos
    d = abs(sx - x) + abs(sy - y)
    return d < 2