K-Nearest Neighbors Regression Algorithm Implementation