Update main.c

So, I am new to github and do not know how it tracks changes so I just wanted to commented out some things I found to be unnecessary. I put in comments above each indicating why I thought so. Thanks for posting your code it has extremely helpful!