Separation of Quark and Gluon Jets in Heavy Ion Collisions at High Energies