Added tree functions and tests.
Added course provided code.
PEP8 Cleanup
Consolidate into one file for exam.