Fixed textWritter and implementation of chessboard