ch5 done

random_search added