Added implementation of multiplicative hash function (with Knuth's choice of A).