Changed locateChildPtr to be consistent with notes

locateChildPtr is now more consistent with course notes

Tested locateChildPtr

not sure how to handle located keys that are higher than all keys in a
non leaf