Insert function call

When call to this insert function,result will be assing to the root.