Fixed "replaceRandomNode" so that it can replace leaves instead of
JUST non-leaves. 
Fixed trees so they don't poop themselves if the generated tree is
just x with 0 children.