Added comments to the main.c file
Added comments