Added implementation for knuth hashing as c-example