A Theory of Evolution