When you create a class instance its variables are cleared,
but what if you have made a class instance in another function
and gave a variable a value in that function, and you wish
to retrieve its value from another fucntion, how can this be done?
As you'd just get empty variables if you created an instance of