snake project with deformable model, GA