Implemented preorder and postorder traversals.
 These traversals use a flatten helper method
 to reduce the returned complex list to a flat list.
Merge branch 'master' of github.com:lwatiker/lab5