Fix error
Convert functional programming to Rmd
Correct formatting for quote