improved formatting of main.c
Merge pull request #1 from toddbranch/master

improved formatting of main.c