Insert to root

When there is a no node in the function, create a new node .