Oblig3 with arraylist and hashmap