Methods of Homological Algebra