Problem 003 solved and commented