Added CFLAGS variable with required set of -W flags
Added include <sys/wait.h> (compiler was claiming declartion of wait was implicit)
remove char c (artificat from orginal code - unused)