Updated Matrix class to do symmetric adding of edges. Need to update Explorer.generate_children to use new function