update readme and example program