Improved on the previous fix and added a test case to cover both types
of carries.
2 files changed