Got the cd command working. Had to extract cd and secrete system call out of child process and only fork if doing an exec call