IntDoublePair(double value,int position){
  this.value=value;
  this.position=position;
}

IntDoublePair ( double value , int position ) { this . value = value ; this . position = position ; }
construct an intdoublepair with the given value and position .
