Added equality function
Fixed return on unconnected graphs
Unreachability and equality tests