Working on documentation. Also added some error checking for patient_add.c