Computing the gradient
Plotting out the learning curves
Writing the polyFeatures function
Generate the train and validation errors needed to
plot a validation curve that we can use to select lambda
Plotting learning curves with randomly selected examples