Variable x inside function is:
Variable y inside function is:10
Variable x outside function is: 5
Variable y outside function is: