Started to substitute jgrapht priority queue