added program for cross validation classification