Improved the documentation of the file errors.h
Improved the documentation of the file main.c