set lptr to the left subtree of p

lptr = left(p);