Update mainautonomous.c
Merge pull request #9 from ishanmaunder/patch-8

Update mainautonomous.c