First round of Dijkstra's algorithm implemented.
Reordered private methods to end of file.
Added reachability method to grid + visualisation to the front end.