A mathematical model for predator and prey populations