University of Barcelona Algebra Notes