public void moveRight(){
	if(canMoveRight()){
	    int[][] temp = BlockInControl.getBlock();
	    int tempPosX = BlockPosX;
	    int tempPosY = BlockPosY;
	    ArrayList <Point> CoordinatesToRight = new ArrayList <Point>();	    
	    for(int r=0; r<4; r++){
		for(int c=0;c<4;c++){
		    if(temp[r][c] == 1 && getRowCol(tempPosY,tempPosX)==1){
			CoordinatesToRight.add(new Point(tempPosX,tempPosY));
			board[tempPosY][tempPosX]=0;
			color[tempPosY][tempPosX]=0;
		    }
		    tempPosX++;
		}
		tempPosY++;
		tempPosX-=4;
	    }	    
	    for(Point p : CoordinatesToRight){
		board[(int)p.getY()][(int)p.getX()+1]=1;
		color[(int)p.getY()][(int)p.getX()+1]= whichColor;
	    }	    
	    CoordinatesToRight.clear();
	    CoordinatesToRight = null;
	    BlockPosX++;
	}
    }