BTreeIndex::locate() completed

Compiles, and I’m pretty sure it works but I haven’t tested it