Implemented smell function for critter

still some changes need to be made in terms of priority queues and
properly accounting for turning