Long arithmetics class