partly functioning random graph implementation, edge insertion needs to be checked, is neigbour pointer set to the last(so it can not be printed)?