The Waterfowl Code: Unraveling the Math Behind Duck Hunters’ Algorithm