The LILITH approach to organic synthesis planning