add return_to_base and deposit states. Also introduced searchFlag and fixed stopFlag and turnFlag assignments. needs tested
Merge branch 'version3' of https://github.com/wvu-irl/cataglyphis into version3