public static WorldChunk GenerateChunk(int x, int z)
    {
        WorldChunk newChunk = new WorldChunk (x, z);
        Debug.Log ("Generating "+newChunk.indexToString());

        for (int x_ind = 0; x_ind < GameSettings.LoadedConfig.ChunkLength_Sectors; ++x_ind) {
            for (int z_ind = 0; z_ind < GameSettings.LoadedConfig.ChunkLength_Sectors; ++z_ind) {
                GenerateSector(newChunk.getSector(x_ind, z_ind));
            }
        }

        return newChunk;
    }