put inhomo poisson generator to single source
add notes for documentation styling
add and restyle Dr.Huang's sample generator

* uniform the indentation
* add comments in misc.R, the generator
put function in the package

* use roxygen2 to maintain docs, update .gitignore
* put related function out of the tests folder