Fixed hex. Implemented an error handler, an error object. Did test cases
from check 0-check 5.