Create filteringdata.py

Test for nearest neighbhour applied to filtering