working on predator-prey simulation