Rework the Hoare's notation example
Minor additions