Implementation of TreeWriter and TreeParser + UnitTests by Kraynov Maxim

Implementation of TreeWriter and TreeParser + UnitTests by Kraynov Maxim