Commit title: Add a personal error lib

Description:
    -Add the lib
    -Adapt Makefile and forensic.c because there were same name function