Create main.c

This is the complete program that we ran on jenny for APOGEE.