Add  examples with while, if and try