public AbstractPiece[][] board(){
                AbstractPiece [][] chessboard = new AbstractPiece[CHESSBOARD_WIDTH][CHESSBOARD_HEIGHT];
                for(int rows = 0; rows < chessboard.length; rows++){
                        for(int column = 0; column < chessboard[0].length; column++){
                                        if(rows >= 2 && rows <= 5){
                                                chessboard[rows][column] = EMPTY;
                                        }
                                        if(rows == 1)
                                                chessboard[rows][column] = BLACK_PAWN;
                                        if(rows == 6)
                                                chessboard[rows][column] = WHITE_PAWN;
                                        if(rows == 0){
                                                chessboard[rows][0] = BLACK_ROOK;
                                                chessboard[rows][1] = BLACK_KNIGHT;
                                                chessboard[rows][2] = BLACK_BISHOP;
                                                chessboard[rows][3] = BLACK_QUEEN;
                                                chessboard[rows][4] = BLACK_KING;
                                                chessboard[rows][5] = BLACK_BISHOP;
                                                chessboard[rows][6] = BLACK_KNIGHT;
                                                chessboard[rows][7] = BLACK_ROOK;
                                        }
                                        if(rows == 7){
                                                chessboard[rows][0] = WHITE_ROOK;
                                                chessboard[rows][1] = WHITE_KNIGHT;
                                                chessboard[rows][2] = WHITE_BISHOP;
                                                chessboard[rows][3] = WHITE_QUEEN;
                                                chessboard[rows][4] = WHITE_KING;
                                                chessboard[rows][5] = WHITE_BISHOP;
                                                chessboard[rows][6] = WHITE_KNIGHT;
                                                chessboard[rows][7] = WHITE_ROOK;                                                                                
                                        }                                                
                        }                
                }
                return chessboard;
        }