Variable Precision Integer Arithmetic Python