Added a tree generating function
Removed Go files
Cleaning up code
Working flatten tree code added
Merge branch 'tree_function'