Scientists synthesize thousands of substances that could potentially become medicines.