Converts given bytes into a human readable format in C