Prims 5 and F#