An Automated Synthesis Program for Drug Discovery