Added a small script for gridsearch.