Implementing Your Own k-Nearest Neighbor Algorithm Using Python