Code for a class project to implement hashtables and a hashing function