implementation of cross validation curve has been added.