fix graph() constructor

Edges were being added twice. Ref: https://groups.google.com/forum/#!topic/julia-users/IfAp8b-q-Q0