Added knitr chunks for each program in the .R code