Programming assignment (partly swedish)