Java Dijkstras implementation
Merge pull request #2 from kinow/master

Java version