rewrote/added new node constructors, implemented locate in BTreeIndex, minor fixes