So. Many. Changes. Edited out a lot of bugs in the caluclation of the
hexString and in the convertion of hexString to packet.