Update for collections reform.

PriorityQueue => BinaryHeap,
Vec::get_mut() => indexing