Adding the test.c code for the functions written by me.