ensured that nearest_neighbor.py passed pep8