Please look at the code in the .c files before executing. It is instructive to do so. The code is self explanatory.