Add sparse2adjacencylist

Perhaps the name is too long, feel free to change it.
Merge pull request #25 from dmbates/master

Add a sparse2adjacencylist function