Retrosynthesis for pharma and agro molecules