Update mainautonomous.c
Merge pull request #2 from ishanmaunder/patch-1

Update mainautonomous.c