Added tree build exercise solution (tree.php)