A (partially complete) framework for setting up and running genetic algorithms with variable-length genomes (of course, you can also quite easily modify the code for problems with set length genomes).