The application of a genetic algorithm for solving crystal structures from powder diffraction data