First draft for evolutionnary algorithm