Added the pqueue class and updated digraph's least cost path function to use it.