This program reads the above Bayes net from file,
  and then generates random cases that follow the
  probability distribution it specifies:
  After this program runs, the file "AsiaEx.cas" contains:
   IDnum  VisitAsia  Tuberculosis  Smoking    Cancer  TbOrCa  XRay
   0	  no_visit   absent	   nonsmoker  absent  false   normal
   1	  no_visit   absent	   smoker     absent  false   normal
   2	  no_visit   absent	   smoker     absent  false   normal
   3	  no_visit   absent	   nonsmoker  absent  false   normal
   4	  visit	     absent	   nonsmoker  absent  false   normal
                            . . . 
   198	  no_visit   absent	   nonsmoker  absent  false   normal
   199	  no_visit   absent	   smoker     absent  false   normal