Ranjan Gogoi appointed next Chief Justice of India, to take oath on October 3