1) Change type of connection on byte.
2) Update DirectedGraph according point 1.
3) Update ElementOfGraph according point 1.
4) Implemented Dijkstra.