Added license header to main.c.