Group cohomology of groups of order 2^n