added parsing for the command, arguements and directories. Also added cout for the directories with it showing up like ls -a