title: Remove Method in HashTable
body: <p>Hi I'm working on an assignment about hash table. Everything is fine except for the remove method.
  Here's code:</p>
  
  <pre><code>public boolean remove(K key) throws HashTableException {
      //
      //IMPLEMENT THIS FUNCTION
      //
      if (key == null)
          throw new HashTableException("Null keys not allowed in the hash table");
  
      int index = getIndex(key);
      HashTableNode&lt;K,V&gt; node = FindNode(key,index);
      if (node == null) {
          return false;
      } else {
          if (node.getNext() == null) {
              node = null;
          } else {
              node = node.getNext();
          }
          return true;
      }
  }
  </code></pre>
  
  <p>It doesn't remove the key at all. Can anyone help me please? thank you!</p>