Implement buttons:
RandomPath;
ShortestPath;
Run;
Reset;