Imitation model: Added agents transition  between locations