correcting graph/2 and adding the 0,1