Added interface for dungeon
fixed merge problem with the parse_input method in dungeon class