Rstudio added .gitignore
simplified input processing.
Removed useless comments.