A substance X when heated with conc. H2SO4, liberates a gas which turns moist starch paper blue. The substance X is: