Adding return statements to 2 methods of the new Spline class.