Implements Primms MST algorithm using Fibonacci heaps