Added function in BashInterpreter.java