added equality to Word-Class