Self-Learning Software for Better Medical Diagnoses