fixed bug where if n > data size, got index error.  n was not being reduced enough, because search school gets removed from list.  Needed to reduce n to len(data) - 1 .  New test written, passes.