minor change
added method equals
fixed a bug
added method isSinglyConnected
updated the latest test