Scientists spot an alien planet as it is being formed