Application of Machine Learning to Organic Synthesis Planning