Changed method name knn() to getData(). Putting training data and testing data into ArrayBuff
Fixed conflict