Added an implementation of Dijkstra's algorithm
Added control flags to allow graph generation and distributed running