A metal chloride X shows the following reactions.
(i) When H2S is passed in an acidified aqueous solution of X, a black precipitate is obtained
(ii) The precipitate obtained at step (i) is not soluble in yellow ammonium sulphide.
(iii) When a solution of stannous chloride is added to an aqueous solution of X, a white precipitate is obtained which turns grey on addition of more of stannous chloride.
(iv) When an aqueous solution of KI is added to an aqueous solution of (X), a red precipitate is obtained which dissolves on addition of excess of KI.
Identify X.