Added the functionality in sha.h to convert hash object to hex string.
Updated the generate_hash_file.c to print hash_string rather than the hash object.
Updated the test.py script to make it shell executable and applied the GNU GPL v2 header to it too.