fix imports
make scramble work with pypy
nodes_in_preorder() is actually in postorder; rename