Update OT7.c

Fixed string length calculations. Improved output format of hash function test. Changed range of numbers used for result codes.