Generate random tree skeleton