initial grid_search implemented. Now experiments with algorithm