Updating simple_filter.R

Made changes to the editor o that the white space at the end of lines
is stripped.