Speciation and extinction in a simple model of evolution