Synthesis Planning based upon the Similarity of Chemical Structures