Adding CompactNumber.h and tests