Implementation of K-Nearest neighbors motion planning algorithms for a robot arm (Written in a week for COSC 76 - Artificial Intelligence)