An Algorithm for the Hierarchical Chinese Postman Problem