private void switchCommand(String[] cmd)
	{
		if (cmd[0].equals("exit"))
		{
			Exit e = new Exit();
			e.execute(wd, cmd);
		}
		else if(cmd[0].equals("pwd"))
		{
			PWD pwd = new PWD();
			pwd.execute(wd, cmd);
		}
		else if(cmd[0].equals("cd"))
		{
			CD cd = new CD();
			wd = cd.execute(wd, cmd);
		}
		else if(cmd[0].equals("ls"))
		{
			LS ls = new LS();
			ls.execute(wd, cmd);
		}
		else if(cmd[0].equals("mv"))
		{
			MV mv = new MV();
			mv.execute(wd, cmd);
		}
		else if(cmd[0].equals("cat"))
		{
			CAT cat = new CAT();
			cat.execute(wd, cmd);
		}
		else if(cmd[0].equals("wc"))
		{
			WC wc = new WC();
			wc.execute(wd, cmd);
		}
		else
			System.out.println("Invalid input, try again!");
	}