A universe generator