Update main.c

Added copyright notice to main.c file