Extensible implementation of a diploid genetic algorithm