Fixed bug in asciiToHex and added comments

Commented the asciiToHex file and fixed a bug where the invalidAdd variable was missing.