public boolean isEmpty(){
        int i = 0;
        int i2 = 0;
        int i3 = 0;
        while(i < blocks.length){
            while(i2 < blocks[i].length){
             while(i3 < blocks[i][i2].length){
                 if(blocks[i][i2][i3] != null)return false;
                 i3++;
            }
               i2++;
        }
            i++;
        }
        return true;
    }