grazing goat problem geometry