Graphing a simple neighborhood function approximation

Referencing [this thread](https://class.stanford.edu/courses/HumanitiesScience/StatLearning/Winter2014/discussion/forum/i4x-HumanitiesScience-Stats216-course-Winter2014-course-material-feedback/threads/52e1c28be370ef9309000037) in the online class.