Created NumberPair class