Implemented smart predator and smart prey