Added an example demonstrating the availability of variables accessed within a closure.