#5 generate the set of molecule images needed by iterating over all solutions and their molecules