Added a graph implementation, floyd-warshall, and semiring operators