add example of passing data to the worker

let others know how to pass data.