adding knearest.rb example