public void setBit(int l_bit,String l_value){
        int registerlength = this.bitLength;
        
        String changedString = "";
        if (l_bit ==0){
           changedString = l_value+this.get().substring(1, registerlength);
        } else if (l_bit==this.bitLength){
           changedString = this.get().substring(0, registerlength-1)+l_value;
        } else {
           changedString = this.get().substring(0, l_bit-1)+l_value+this.get().substring(l_bit,registerlength);
        }
        
        //String test = changedString;
    
        this.set(changedString);
    }