in-order traversal with a generator and a list

This closes #9