private void printBoard()
  {
    if (knightsTour != null)
    {
      boolean[][] board = knightsTour.getBoard();

      int rows = knightsTour.getRows(),
          columns = knightsTour.getColumns();

      Point knight = knightsTour.getKnight();

      for (int y = 0; y < rows; y++)
      {
        for (int x = 0; x < columns; x++)
        {
          if (x == knight.x && y == knight.y)
            System.out.print("$");
          else
            System.out.print(board[y][x] ? "#" : "-");
        }

        System.out.println("");
      }
    }
  }