started adding genetic algorithms logic