int write(int block_index){
  onDiskOrder.add(block_index);
  return onDiskOrder.size() - 1;
}

int write ( int block_index ) { onDiskOrder . add ( block_index ) ; return onDiskOrder . size ( ) - 1 ; }
enqueue a data block for later writing .
