A Sequential Approach to the Characteristic Function and the Core in Games with Externalities