Restored main.c

Restored accidental overwrite of main.c.