finished knn algorithm
finished load json