Update Assignment1_260290265.c

Kinda solve the issue:
when parent doesn't wait for child, it cannot get status to check whether the command is valid to take into history.