public void writeSymbol(char symbol) throws IOException{
        if(firstWrite == false){
            outString = "" + symbol;
            firstWrite = true;
        }else {
            outString = outString + symbol;
        }
    }