3rd Attempt

Finally working but the final output could be cleaner
1st Attempt

Finally working but took some time to get the conversion from binary to hexadecimal correct