Add functions to init and free process structures
Set -Wall -Werror -pedantic-errors

And fix all the things that broke because of these flags.