added simple example to intro.rmd