A prisoner was thrown into a medieval dungeon with 145 doors