A new class, Pair, to represent pairs of elements of vector/affine spaces and the operations on them