Adding more examples for if, function and arithmetic operations.