Add comments to describe the solution for each problem. Usually, the
comments should describe "why" rather than "what". But I add some "what"
here to make it easier to follow.