binary tree & ternary tree

added directories and files. each directory has the testcase, main file,
header file and the output.