My implementation for binary tree data structure