Prim's algoritm (in progress)
Prim's algorithm (completed)