add comments to Assignment3.R