added code for final project: final.R (implements SVM CV and RF in parallel for multicore)