Added hashCode and equals method to Node
Implemented GraphReader