Implemented movement of animals.