JC: Homework #2

As before, parameters and r-squared discussion are at the end of the python script.