replaced self.hash_func with hash_func in hash_table.rb

-replaced self.hash_func with hash_func in hash_table.rb
-removed self from self.detect and self.each from singly and doubly linked lists
-removed the extra instance variables from singly and doubly linked lists
  in favor of instance methods from attr_reader. eg @head.next ==> head.next