public static void drawHorizontalWalls(CellData[][] map, int row) {
   String str = "X";
   for (int i = 0; i < 4; i++) {
     CellData currentCell = map[i][row];
     if (currentCell == null) {
       if (i == 3) {
         str = str + "NNNX";
       } else {
         str = str + "NNNN";
       }
     } else {
       if (currentCell.getNorthWall()) {
         str = str + "XXXX";
       } else {
         if (i == 3) {
           str = str + "...X";
         } else {
           str = str + "...";
           if (currentCell.getEastWall()) {
             str = str + "X";
           } else {
             str = str + ".";
           }
         }
       }
     }
   }
   System.out.println(str);
 }
 public static void drawMapCells(CellData[][] map, int row) {
   for (int i = 0; i < 3; i++) {
     String str = "X";
     for (int j = 0; j < 4; j++) {
       CellData currentCell = map[j][row];
       if (currentCell == null) {
         if (j != 3) {
           str = str + "NNNN";
         } else {
           str = str + "NNNX";
         }
       } else {
         str = str + "...";
         if (j == 3) {
           str = str + "X";
         } else {
           if (currentCell.getEastWall()) {
             str = str + "X";
           } else {
             str = str + ".";
           }
         }
       }
     }
     System.out.println(str);
   }
 }