function to print hash table contents
function printTable ( ) { document . write ( " " + " " ) ; for ( let i = 0 ; i < ver ; i ++ , document . write ( " " ) ) for ( let j = 0 ; j < MAXN ; j ++ ) if ( hashtable [ i ] [ j ] == Number . MIN_VALUE ) document . write ( " " ) ; else document . write ( hashtable [ i ] [ j ] + " " ) ; document . write ( " " ) ; }