set p to the left subtree

p = lptr;