Doesn't iterate in expected order. My first thought was some version of LinkedList (as below). This would give the expected output if lines 22, 23 were exchanged. After that, I think I've looked at all the implementations of map. . . Thanks for any help!!!