Implemented locate and readEntry for leaves