[examples] Add moving average example