Introduction to the basics of category theory and its applications in algebra