Create main.c

main.c is here a test file containing the main function to test the different functions.