now he was pursuing a hooded figure that fled before him down an endless corridor resembling the great gallery in the oldest part of the castle , but at the same time seeming to be a long avenue of trees that formed cathedral-like arches high above his head .