starting with graphs in scala
just made the graph struct