Adding numbers class for manipulation of numbers with different bases