Implementation of the Dungeon class.
This file contains the implementation of the Dungeon class, which manages the creation and traversal of a dungeon made up of interconnected rooms. The class includes methods for generating rooms, linking them, displaying maps, and traversing the dungeon.