Write a Java program for dungeon escape with the shortest path. Passable cells are marked as '.' and impassable cells are marked as '#'.

a) DungeonEscape(shortestPath, '.', '#')
b) EscapeDungeon(shortestPath, '.', '#')
c) DungeonRunner(shortestPath, '.', '#')
d) ShortestPathEscape('.', '#')