genetic solution

genetic solution