p83 graph isTree and isConnected