Efficient Hand Movement Detection Using k-Means Clustering and k-Nearest Neighbor Algorithms