Obligatory assignment 1 for Inf4850