The massacre took place at an adult education centre west of Stockholm.