lotka volterra implementation for three species