First Draft

Still need to verify and write proof by induction for the report, but I
believe this code will execute the correct nearest neighbor algorithm