How To Build The Universe in a Computer