Binary Coded Decimal package in C