Update input_parser.c

Changes for cd command, which is an internal shell command.