Add a mutable pair and use it for embedding
Factor out some methods in brandes embedding code
Make brandes embedding implement the embedding interface, add some tests