for highlighting path is not required NodeImpl class (anything implementing Node interface is enough)
node must implement hashCode method