Test variables inside the function:
Variable x is: Variable y is: 10
Test variables outside the function:
Variable x is: 5Variable y is: