This is a working copy of part 2 of assignment 1, called complete.R
This is a working copy of the 3 functions for assignment 1. There is a
very small deviation in some of the results??