Fixing: areConnected method and Documentation

- Fixed the areConnected method implementation.
- Fixed Dijkstra and BellmanFord documentation.
- Removed the first two lines.
- Removed some class testing on the and of the file.