SpaceX launches rocket with 24 satellites