Worked on #75. Updated the error message for incorrect base digits.