Create Dotstring representation of binary trees