Added Pair class. Completed Pointwise