Create main.c

explained at simplearmprojects.blogspot.com