A new algrithm to find shortest routing in a subway system, in java.