Dodana obsluga HashMap i LinkedList