implemented patients

can simulate. but takes long time&bugs here and there.
Need to modify the cases