split isLeaf

added in the is leaf part of split.  Not positive it works.  haven't
done any testing since the rest isn't built yet.