How to make a hashmap to allow duplicate values?