Given a BST, find the lowest common ancestor of two given nodes.
root = [6,2,8,0,4,7,9,null,null,3,5], p = 2, q = 8
6
root = [6,2,8,0,4,7,9,null,null,3,5], p = 2, q = 4
2