there should be always at least 1 child entity

also having the random.nextInt()  outside the for loop should lead to a better distribution of no. of child entities.
Merge pull request #1 from jerrinot/patch-1

there should be always at least 1 child entity