Added basic functionality to predator-prey problem.