Add Java version of shortest flight path