Well, I guess it's all a little too late then.

Not really convinced this is a good exercise anyway.

As you've noticed, the DoublePair class supplied (I'm assuming that's supplied by the instructor) doesn't have the methods in it that are needed to actually compile that class for starters.

Unless you wrote that class, of course.