Remake of myshell.c to test fork