Scientists have built Henrietta, a new spectrograph that can study the atmospheres of planets outside our solar system.