added new hashing algorithms to HashMap class