confused, hashmaps dont allow duplicates, how can i check if they have the same fiurst or last name?