This is a simple Genetic algorithm to get the target word specified by user the idea is not mine, inspired from aweb article
this will give you the very basic idea of how a genetic algorithm works
please reward me with a star
and ofcourse contribute your simple gentic algorithms to help other