Implemented Graph - Node classes