Added solution for oppgave6.