A numerical simulation of pre-big bang cosmology