add nearest neighbors code & result