Update main.c

added : license text