code used to calculate the evolution of the universe