Simple commented code of using Fork syscall in C++