Working with graphs in Julia