public static int bombs(char[][] maze, int row, int col, ArrayList checked, int bombs) { int size = maze.length; boolean wall = false;