STAT535_HW2: first problem is to inteplement KNN algorithm.
add ggplot error bars plotting code.