First revision

Methods toHexString() and byte2hex() were implemented in the demo for
debugging purposes, and are not used in our program. Therefore, they
were removed.