Create API.c

API.c is the main file of the exercise. Here are all of the functions which use or change the menu.