Removed all breaks from do_waitpid. Revist and write a cleaner code.
Dequeu the process from the children list of its parent process
in do_waitpid removed the process from the list of its parent' children and from the list of all processes