In case of generation of the same hash code for two different keys the collisions should be handled (using list?).