Adding comment about empty 'when' and rearranging the solution explanation comments.