Changes on Graph implementation

Fuck you!