it works :)
implemented exponential smoothing filter
implemented an ideal low pass filter
implemented other filter types