Bug: the flipping of byte order was not correct. Removed the flipnibbles call in generatemessage()
Added some error checking for signed-ness of the transmission values entered by user
Transmission: changed generateMessage function to allow for signed payload data.