working on multiplication hash function