A set of basic graph algorithms in F#