minor modification for lib/fork.c
implements single-step user program