Functions now have memory allocated to them when they execute for variables. Stops all issues with recursion and variable changes