added motion example

from opencv