created create_structure_factor program