add Rcpp to README and revise example in main.cc