Implement a custom hashing algorithm to solve a specific object-oriented design problem, explaining how you minimize and handle collisions.