Organic chemistry synthesis problem as artificial intelligence planning.