begin work on generate kingdoms method (it really wants some tests...)