Cohomology of groups Connections with homological algebra mathematics