binary tree combine

a simple google search reveals I might be doing this all wrong