added testing code that prints hex graph using new numbering scheme