the stairs ascended up and around a corner of the room , and then curved again at what the prince assumed was the second story , and then again when it came to the third , where he emerged onto a long hallway with but one lit oil lamp in a wall bracket and a wooden door at the far end .