SimpleGraph and SimpleWeigthedGraph implementations are added.

SimpleGraph, SimpleWeightedGraph implementations have been added.
AbstractGraph has been written in the most efficient way (see details in
comments).
BellmanFord mistake was fixed.