Implemented type command for shell(Step5)