added str() method to Network