Add more examples on function/control structure