Java implementation of Prim's algorithm using a Fibonacci Heap.