Update MainProject.c

Added functions up top.
I high fived myself.