Add default distances.
Update javadoc
Add missing initializations
Remove unneeded imports
Use default distance, clear predecessors
Merge pull request #21 from agouge/refactor/small-updates

Refactor/small updates

* Add default distances for BFS, Dijkstra
* Make sure all initializations are done correctly