Added the stuff for autonomous_tasks.c

ALL THE FUNCTIONS