Problem 006 solved and commented