Small changes to autonomous

fixing errors and adding a complement function
Merge branch 'master' of https://github.com/NoNeedToBail/EECE281_DB