Initial commit of cross validation script.