update readme; add example program