Add post and pre-order prints to binary tree