Creates the root for a tree, with an optional value. Use rootWrapped if you want a more object-oriented mode of access.