Add integer factory implementation example