Construct a binary sort tree and perform middle root order and post root order traversal