Comparison of quark jets with gluon jets and measurement of the coupling constant