added avoid behaviour
agent code feature complete

untested : case where can move but still an obstacle