Function to hash a code from an IR receiver (reading an IR remote control). 

Follow the instructions in the test file to build and run.
