Working on a iterator for the linked list, crashes atm