public void addPair(String var,Value val){
  map.put(var,val);
  cachedHash=0;
}

public void addPair ( String var , Value val ) { map . put ( var , val ) ; cachedHash = 0 ; }
adds a new ( var , value ) pair to the assignment
