Graded Problem 2 of M.C.Sc. (German Code)