Finish the system call which can print the infomation of the process tree