add main.c
Merge branch 'add-main'