public class TileId
{
    public static final char BUG = '#';
    public static final char EMPTY_SPACE = '.';
    public static final char NESTED_GRID = '?';

    public static boolean valid (char check)
    {
        if ((check == BUG) || (check == EMPTY_SPACE) || (check == NESTED_GRID))
            return true;
        else
            return false;
    }

    private TileId ()
    {
    }
}
@@ -6,19 +6,19 @@
 c class 
-Til
+Cub
 eId%0A%7B%0A  
@@ -48,64 +48,19 @@
 har 
-BUG = '#';%0A    public static final char EMPTY_SPAC
+ACTIV
 E = '
-.
+#
 ';%0A 
@@ -91,24 +91,21 @@
 har 
-NESTED_GRID
+INACTIVE
  = '
-?
+.
 ';%0A%0A
@@ -181,36 +181,13 @@
  == 
-BUG) %7C%7C (check == EMPTY_SPAC
+ACTIV
 E) %7C
@@ -202,19 +202,16 @@
  == 
-NESTED_GRID
+INACTIVE
 ))%0A 

Update CubeId.java