Update Shortest.java