add main.c
Merge remote-tracking branch 'foldrr-2/add-main'