Modeling Behavior and Population Dynamics