Hex printing loop & error check finalized, I think