@Test
   public void fillMap () {
      String map = "ghi\n";
      map += "def\n";
      map += "abc\n";
      System.out.println (map);

      char[][] myMap = new char[3][3];
      int row = 2, col = 0;

      for (int i = 0; i < map.length (); i++) {
         char c = map.charAt (i);
         if (c == '\n') {
            row--;
            col = 0;
         } else {
            myMap[row][col++] = c;
         }
      }

      for (char[] r : myMap) {
         for (char val : r) {
            System.out.print (val);
         }
         System.out.println ();
      }

      System.out.println ();
      int x = 0, y = 0;
      System.out.println (myMap[y][x] + " = a?");
      x = 1;
      y = 2;
      System.out.println (myMap[y][x] + " = h?");
      x = 2;
      y = 0;
      System.out.println (myMap[y][x] + " = c?");
      System.out.println ();

      for (int i = myMap.length - 1; i >= 0; i--) {
         for (int j = 0; j < myMap[i].length; j++) {
            System.out.print (myMap[i][j]);
         }
         System.out.println ();
      }
   }