Added knitr script for Assignment 1.

Knitr script, and associated figures.