Adding a generic Pair class for the purpose of nesting pairs of
coordinates. Java's Point class does not allow this. I tried to make
this robust, but it's a first draft. This will be used in the Board and
GameState classes.