[Test] add debug log, and implement function to show HEX array

* define TRUE, FALSE, DEBUG
* printHexArray