Julia code for workin with simple graphs (no loops, directions, or multiple edges)