renamed the pieceList to chessBoard