public boolean drop(Tetrimino tetrimino)throws IndexOutOfBoundsException, GridCorruptedException{
        if(tetrimino!=null){
            System.out.println("drop");
            for(int j=0;j<tetrimino.shape[0].length;j++){
                for(int i=0;i<tetrimino.shape[0][0].length;i++){
                    if(tetrimino.getValue(i, j)==0) continue;
                    try{
                        this.setValue(tetrimino.getXpos()+i,tetrimino.getYpos()+j,tetrimino.getValue(i,j));;
                    }catch(IndexOutOfBoundsException iobe){
                        throw iobe;
                    } catch (GridCorruptedException ex) {
                        throw ex;
                    }
                }
            }
        }
        return true;
    }