Computation of modular cohomology rings of finite groups