Binary tree data structure homework.