Elements of mathematics : algebra