REG: Removed redundant input checking function, ADD: Avoid calculation if both bases are same, MOD: Moved final printing to new function, MOD: Refactored convert function to abstract error/special cases