edit printBoard method