find first occurence of k in a BST