added preorder using peano numbers and somewhat works...