added intro.Rmd
changed demo.r to include some basic usage before examples are done