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

Update mainautonomous.c