Mathematical modeling of intraguild predation and its dynamics in ecology