Added iterator implementation that returns arrangements of elements.