Task 2 (Hashmap)