Add constructor using an adjacency matrix
More efficient adjacency matrix constructor, parameter for is_directed

Also adds a test
Merge pull request #32 from timholy/master

Add constructor using an adjacency matrix