wikipedia is quite good for this:
Prim's algorithm - Wikipedia, the free encyclopedia