Elements of Abstract and Linear Algebra