Made the method by which commands are executed much cleaner. Much less duplicate code. Also set up recursive method for piped commands. Not yet tested. Currently implemented: cd, echo, pwd, ls.