Reimplemented search for node by line using hash table