In this assignment, you'll be writing your own classes, from scratch.
ArithmeticSequenceGenerator g = new ArithmeticSequenceGenerator(10,7);
then a sequence generator will be created with start value 10 and
delta value 7. Both of these fields are private, and there are no
getters and setters for them. There is one method, though, called
next. For our example generator, g defined above,
the first call to next() returns 10, then the next returns
17, then 24, etc.
(43.211N, 76.28W)
(1.2433S, 93.00E)
(89.878S, 179.3W)
For extra credit, add a method that returns the distance from the point
to another point, along the Earth's surface, of course. This is sometimes
called the "great circle distance". You are not expected to know the math
behind this compuatation, but you are expected to look up an algorithm
or incorporate someone else's existing code, remembering to give such a person
credit. Hint: The method should be defined like this:
public double distanceTo(Point p) {...}