added arrows to the graph to represent directionality